Qt 6.11 is out! See what's new in the release
blog
[DELETED] Error within C preprocessor: "expected ')' before 'L'"
General and Desktop
4
Posts
3
Posters
1.4k
Views
2
Watching
-
This post is deleted!
-
You can run just the preprocessor on the source code. This will expand all the macros so you can see what the compiler is complaining about.
gcc -E -o output.c input.c
More information here: http://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
This is one reason macros are frowned upon.
-
Hi,
What should the output look like ?
if is something like "$0.0"
ui->label->setText(QString("$%1").arg(APP_VERSION, 2, 'f', 1);would be way simpler and clean
-
Hi,
What should the output look like ?
if is something like "$0.0"
ui->label->setText(QString("$%1").arg(APP_VERSION, 2, 'f', 1);would be way simpler and clean
This post is deleted!