[Bug modula2/92647] New: Internal enum may conflict with the time() function
pashev.igor at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Nov 24 13:19:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92647
Bug ID: 92647
Summary: Internal enum may conflict with the time() function
Product: gcc
Version: 9.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: modula2
Assignee: unassigned at gcc dot gnu.org
Reporter: pashev.igor at gmail dot com
Target Milestone: ---
Created attachment 47344
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47344&action=edit
Rename "time" to "tiempo"
In the `gm2/mc-boot/GRTint.c` file there is an enum `typedef enum {input,
output, time} VectorType;` which may conflict with the `time()` function that
could be brought in the scope by accident. It happened to me when building for
Dyson [1] since it not using GNU libc. I had to rename "time" to "tiempo" to
fix that :)
[1] https://www.osdyson.org
More information about the Gcc-bugs
mailing list