Menu

#2 Compilation error: multiple definition of **oddity

v1.0_(example)
open
nobody
None
5
2024-03-27
2024-03-27
No

Using gcc 12.2.0, I get an error message about unsigned char **oddity; being defined multiple times.
The solution seems to be adding extern to the definition in src/swarp_conductor_voltages.c on line 39:

extern unsigned char **oddity;

Maybe this has to do with the gcc version being more strict?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB