Skip to content
New issue

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

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

Already on GitHub? # to your account

C++ build problem (already fixed June 21 but not included in 5.3) (IDFGH-13331) #14250

Closed
3 tasks done
dannybackx opened this issue Jul 25, 2024 · 2 comments
Closed
3 tasks done
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@dannybackx
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

5.3

Operating System used.

Linux

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

What is the expected behavior?

No compile errors

What is the actual behavior?

In file included from /home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_panel_io.h:12,
                 from /home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/managed_components/espressif__esp_lcd_touch/include/esp_lcd_touch.h:18,
                 from /home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/managed_components/espressif__esp_lcd_touch_ft5x06/include/esp_lcd_touch_ft5x06.h:14,
                 from /home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/main/ft5x06.cpp:14:
/home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_io_i2c.h:82:37: error: found ':' in nested-name-specifier, expected '::'
   82 |             i2c_master_bus_handle_t : esp_lcd_new_panel_io_i2c_v2, \
      |                                     ^
/home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/main/ft5x06.cpp:100:3: note: in expansion of macro 'esp_lcd_new_panel_io_i2c'
  100 |   esp_lcd_new_panel_io_i2c((esp_lcd_i2c_bus_handle_t)I2C_NUM_0, &io_config, &tp_io_handle);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_io_i2c.h:82:13: error: 'i2c_master_bus_handle_t' is not a class, namespace, or enumeration
   82 |             i2c_master_bus_handle_t : esp_lcd_new_panel_io_i2c_v2, \
      |             ^~~~~~~~~~~~~~~~~~~~~~~
/home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/main/ft5x06.cpp:100:3: note: in expansion of macro 'esp_lcd_new_panel_io_i2c'
  100 |   esp_lcd_new_panel_io_i2c((esp_lcd_i2c_bus_handle_t)I2C_NUM_0, &io_config, &tp_io_handle);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_io_i2c.h:83:13: error: expected primary-expression before 'default'
   83 |             default : esp_lcd_new_panel_io_i2c_v1) (bus, io_config, ret_io) \
      |             ^~~~~~~
/home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/main/ft5x06.cpp:100:3: note: in expansion of macro 'esp_lcd_new_panel_io_i2c'
  100 |   esp_lcd_new_panel_io_i2c((esp_lcd_i2c_bus_handle_t)I2C_NUM_0, &io_config, &tp_io_handle);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_io_i2c.h:81:58: error: '_Generic' was not declared in this scope
   81 | #define esp_lcd_new_panel_io_i2c(bus, io_config, ret_io) _Generic((bus),  \
      |                                                          ^~~~~~

Steps to reproduce.

Compile something that includes esp_lcd_new_panel_io_i2c with a C++ compiler

Build or installation Logs.

see above

More Information.

Fixed in #14037 but not included in 5.3, or so it would appear

@dannybackx dannybackx added the Type: Bug bugs in IDF label Jul 25, 2024
@github-actions github-actions bot changed the title C++ build problem (already fixed June 21 but not included in 5.3) C++ build problem (already fixed June 21 but not included in 5.3) (IDFGH-13331) Jul 25, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Jul 25, 2024
@suda-morris
Copy link
Collaborator

The backport has merged in our internal Gitlab server. It just needs some time to get synced to Github.

@suda-morris suda-morris removed the Type: Bug bugs in IDF label Jul 26, 2024
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Sep 6, 2024
@suda-morris
Copy link
Collaborator

Fixed in 0903bcc

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants