Multiple definition when includeing conio.h in multiple cpp files. #14
Labels
bug
Something isn't working
help wanted
Extra attention is needed
question
Further information is requested
Everything works fine when I include conio.h in a single file. But when I include it in two or more cpp files in the same project I get
/usr/include/conio.h:312: multiple definition of `___CONIO_H'; /tmp/ccvuHE5R.o:/usr/include/conio.h:312: first defined here
Of course the program builds just fine when conio.h is included in only one cpp file.
The text was updated successfully, but these errors were encountered: