Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » "and" and "or" are defines under Linux
"and" and "or" are defines under Linux [message #17179] |
Fri, 01 August 2008 11:27 |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
I cross compiled something under Linux today, and I noticed that both "and" and "or" are defines and I get compilation error at something as simple as "int or;", because the compiler gets "int ||". I like "or" as a local variable name . This is only under GCC. If the defines are not necessary for U++, we should undef them, or at least define them under Windows, so we get consistent crosscompilation.
|
|
|
Goto Forum:
Current Time: Mon Apr 28 23:21:14 CEST 2025
Total time taken to generate the page: 0.00688 seconds
|