GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — defined() not recognizing ## token paste in its operand (GNU extension) · Issue #653 · cppcheck-opensource/simplecpp Open Labels DescriptionWhen defined() appears inside a macro with ## op, syntaxError gets emitted.
Reproducer: main.c #define NRF_MODULE_ENABLED(module) \ (defined(module ## _ENABLED) && (module ## _ENABLED)) #define FOO_ENABLED 1 #if NRF_MODULE_ENABLED(FOO) int foo(void) { return 1; } #endif This is caused by the DEFINED branch in expandToken, which doesn't match defined(A ## B), and makes the token 'defined(...)' fall through. ActivityMetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |