Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal compiling error #262

Closed
FernandoGarcia opened this issue Jun 11, 2021 · 2 comments
Closed

Internal compiling error #262

FernandoGarcia opened this issue Jun 11, 2021 · 2 comments
Labels
conclusion: duplicate Has already been submitted type: imperfection Perceived defect in any part of project

Comments

@FernandoGarcia
Copy link

FernandoGarcia commented Jun 11, 2021

Hi!

I'm getting this compiling errors while trying ArduinoIoTCloud-Basic example with NodeMCU 1.0.

IDE: 1.8.10;
Library version: 1.0.2
OS: Ubuntu 18.04

/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c: In function 'hexDump':
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c:195:32: error: expected ')' before '__INT8'
  195 |         err = stream(out, "%02" PRIx8, *buffer++);
      |                                ^
      |                                )
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c: In function 'utf8EscapedDump':
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c:251:39: error: expected ')' before '__INT32'
  251 |             err = stream(out, "\\u%04" PRIX32 "\\u%04" PRIX32,
      |                                       ^
      |                                       )
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c:257:39: error: expected ')' before '__INT32'
  257 |             err = stream(out, "\\u%04" PRIX32, uc);
      |                                       ^
      |                                       )
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c: In function 'value_to_pretty':
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c:382:34: error: expected ')' before '__INT64'
  382 |             err = stream(out, "%" PRIu64, val);
      |                                  ^
      |                                  )
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c:387:39: error: expected ')' before '__INT64'
  387 |                 err = stream(out, "-%" PRIu64, val);
      |                                       ^
      |                                       )
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c:457:30: error: expected ')' before '__INT64'
  457 |         err = stream(out, "%" PRIu64 "%s(", tag, get_indicator(it, flags));
      |                              ^
      |                              )
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c:473:37: error: expected ')' before '__INT8'
  473 |         err = stream(out, "simple(%" PRIu8 ")", simple_type);
      |                                     ^
      |                                     )
/home/fernandogarcia/Arduino/libraries/ArduinoIoTCloud/src/cbor/lib/tinycbor/src/cborpretty.c:531:36: error: expected ')' before '__INT64'
  531 |             err = stream(out, "%s%" PRIu64 ".%s", val < 0 ? "-" : "", ival, suffix);
      |                                    ^
      |                                    )

Best regards.

@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Jun 13, 2021
@aentinger aentinger added the conclusion: duplicate Has already been submitted label Jul 21, 2021
@aentinger
Copy link
Collaborator

Very likely same issue as #266, reopen if fix described there does not fix your issue.

@FernandoGarcia
Copy link
Author

It does not look like as a definitive solution.

Please make it compatible with latest esp core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants