ppisa commented on issue #18566: URL: https://github.com/apache/nuttx/issues/18566#issuecomment-4699756374
Thanks to @ghaerr and @Acfboy for work and solution. The `ERROR` could be problem for some NuttX specific drivers and or other code which needs to use Microwidows headers and NuttX specific drivers API etc. But on the other hand, `stdio.h` is defined by ANSI C and it strictly requires that no additional identifies above those mandated by standard are defined by standard header file inclusion. The exception are platform specific identifiers starting by single or two underscore `_` characters and even for these there is is GCC world rule that single underscore is for target and two for compiler typically. So even that solution which disables `ERROR` definition by Microwidows files (if not required) is useful, but problem should be solved on NuttX standard header files side as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
