Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple definition when includeing conio.h in multiple cpp files. #14

Closed
Lukasiewski opened this issue Dec 17, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@Lukasiewski
Copy link

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.

@Lukasiewski Lukasiewski added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Dec 17, 2023
@zoelabbb zoelabbb closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2023
@zoelabbb
Copy link
Owner

You can update the repository first, because have an new update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants