Dash in project name leads to compile errors

What do you want to achieve?

compilable code

What have you tried so far?

design a ui fragment

Screenshot or video

Others

  • SquareLine Studio version: 1.3.1
  • Operating system: MacOS Ventura
  • Target hardware: M5Stack Core2 + CoreS3

Assume you create a project called ‘imu-baro’

then export the UI files

you get syntactically invalid C:

// SquareLine Studio version: SquareLine Studio 1.3.1
// LVGL version: 8.3.6
// Project name: imu-baro
#ifndef _IMU-BARO_UI_H

In file included from src/ui/screens/ui_Screen1.c:6:
src/ui/screens/…/ui.h:6:13: warning: extra tokens at end of #ifndef directive
#ifndef _IMU-BARO_UI_H
---------------- ^
src/ui/screens/…/ui.h:7:13: warning: ISO C99 requires whitespace after the macro name

  • Michael