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

[LVGL + FLOW] eez-flow.cpp toString bug #673

Open
hellsge opened this issue Dec 20, 2024 · 0 comments
Open

[LVGL + FLOW] eez-flow.cpp toString bug #673

hellsge opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels

Comments

@hellsge
Copy link

hellsge commented Dec 20, 2024

Describe the bug
eez-flow.cpp error

To Reproduce
Because i use my own lvgl simulator, maybe you can not reproduce.

Expected behavior

Screenshots
lvgl ui in ezz stdio
image
I have enable Flow support. But there is no flow in this demo right now.
I think this bug should be unrelated to the UI.

error infomation

G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp: In member function 'eez::Value eez::Value::toString(uint32_t) const':
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:2680:47: error: expected ')' before 'PRId8'
         snprintf(tempStr, sizeof(tempStr), "%" PRId8 "", int8Value);
                 ~                             ^~~~~~
                                               )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:2682:47: error: expected ')' before 'PRIu8'
         snprintf(tempStr, sizeof(tempStr), "%" PRIu8 "", uint8Value);
                 ~                             ^~~~~~
                                               )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:2684:47: error: expected ')' before 'PRId16'
         snprintf(tempStr, sizeof(tempStr), "%" PRId16 "", int16Value);
                 ~                             ^~~~~~~
                                               )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:2686:47: error: expected ')' before 'PRIu16'
         snprintf(tempStr, sizeof(tempStr), "%" PRIu16 "", uint16Value);
                 ~                             ^~~~~~~
                                               )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:2688:47: error: expected ')' before 'PRId32'
         snprintf(tempStr, sizeof(tempStr), "%" PRId32 "", int32Value);
                 ~                             ^~~~~~~
                                               )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:2690:47: error: expected ')' before 'PRIu32'
         snprintf(tempStr, sizeof(tempStr), "%" PRIu32 "", uint32Value);
                 ~                             ^~~~~~~
                                               )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:2695:47: error: expected ')' before 'PRId32'
         snprintf(tempStr, sizeof(tempStr), "%" PRId32 "", (int32_t)int64Value);
                 ~                             ^~~~~~~
                                               )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:2701:47: error: expected ')' before 'PRIu32'
         snprintf(tempStr, sizeof(tempStr), "%" PRIu32 "", (uint32_t)uint64Value);
                 ~                             ^~~~~~~
                                               )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp: In function 'void eez::flow::writeValue(const eez::Value&)':
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:6103:45: error: expected ')' before 'PRId8'
   snprintf(tempStr, sizeof(tempStr) - 1, "%" PRId8 "", value.int8Value);
           ~                                 ^~~~~~
                                             )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:6106:45: error: expected ')' before 'PRIu8'
   snprintf(tempStr, sizeof(tempStr) - 1, "%" PRIu8 "", value.uint8Value);
           ~                                 ^~~~~~
                                             )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:6109:45: error: expected ')' before 'PRId16'
   snprintf(tempStr, sizeof(tempStr) - 1, "%" PRId16 "", value.int16Value);
           ~                                 ^~~~~~~
                                             )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:6112:45: error: expected ')' before 'PRIu16'
   snprintf(tempStr, sizeof(tempStr) - 1, "%" PRIu16 "", value.uint16Value);
           ~                                 ^~~~~~~
                                             )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:6115:45: error: expected ')' before 'PRId32'
   snprintf(tempStr, sizeof(tempStr) - 1, "%" PRId32 "", value.int32Value);
           ~                                 ^~~~~~~
                                             )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:6118:45: error: expected ')' before 'PRIu32'
   snprintf(tempStr, sizeof(tempStr) - 1, "%" PRIu32 "", value.uint32Value);
           ~                                 ^~~~~~~
                                             )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:6124:45: error: expected ')' before 'PRId32'
   snprintf(tempStr, sizeof(tempStr) - 1, "%" PRId32 "", (int32_t)value.int64Value);
           ~                                 ^~~~~~~
                                             )
G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.cpp:6131:45: error: expected ')' before 'PRIu32'
   snprintf(tempStr, sizeof(tempStr) - 1, "%" PRIu32 "", (uint32_t)value.uint64Value);
           ~                                 ^~~~~~~
                                             )
scons: *** [G:\gui\LVGL_V9\realgui\example\demo\eez_lvgl_v9\eez-flow.o] Error 1
scons: building terminated because of errors.

Desktop (please complete the following information):

  • OS: Windows
  • Version10

** LVGL version (if used)**

  • 9.x

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants