This message derives from building gcobol, the gcc COBOL FE. There is only one file symbols.h. The complaint appears to stem from that single file being referenced in two ways, once with an absolute path and once with a relative path. (I assume the second note is meant to refer to the conflicting definition, but it refers to the same file and line number.)
If this is a real error, could you tell me how to expose the conflicting definitions? If it is not, could you kindly leave a comment for the open PR?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you tell which source file symbol.h is referenced from? It should appear somewhere in the output before the ODR warning. Once you know the file, looking at the preprocessor output (-E) might be helpful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One of us is confused. :-)
This message derives from building gcobol, the gcc COBOL FE. There is only one file
symbols.h
. The complaint appears to stem from that single file being referenced in two ways, once with an absolute path and once with a relative path. (I assume the second note is meant to refer to the conflicting definition, but it refers to the same file and line number.)If this is a real error, could you tell me how to expose the conflicting definitions? If it is not, could you kindly leave a comment for the open PR?
Can you tell which source file
symbol.h
is referenced from? It should appear somewhere in the output before the ODR warning. Once you know the file, looking at the preprocessor output (-E
) might be helpful.