You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No redefinition of yyguts_t by the setting %option prefix="codeYY" #877
When compiling multiple lex files (with flex 2.6.4, though as far as I can tell this would also occur 2.6.17) we get warnings:
/home/runner/work/doxygen/doxygen/build/generated_src/code_intermediate.cpp:28376: warning: type ‘struct yyguts_t’ violates the C++ One Definition Rule [-Wodr]
28376 | struct yyguts_t
|
/home/runner/work/doxygen/doxygen/build/generated_src/commentcnv_intermediate.cpp:3881: note: a different type is defined in another translation unit
3881 | struct yyguts_t
|
/home/runner/work/doxygen/doxygen/build/generated_src/code_intermediate.cpp:28380: note: the first difference of corresponding definitions is field ‘yyextra_r’
28380 | YY_EXTRA_TYPE yyextra_r;
|
/home/runner/work/doxygen/doxygen/build/generated_src/commentcnv_intermediate.cpp:3885: note: a field of same name but different type is defined in another translation unit
3885 | YY_EXTRA_TYPE yyextra_r;
|
/home/runner/work/doxygen/doxygen/src/code.l:93: note: type name ‘codeYY_state’ should match type name ‘commentcnvYY_state’
93 | struct codeYY_state
|
/home/runner/work/doxygen/doxygen/src/commentcnv.l:106: note: the incompatible type is defined here
106 | struct commentcnvYY_state
|
Activity
fix(skel): put the prefix in yyguts_t