hi, i am having trouble compiling a program with winbgim.h library. It has conflict with conio.h enum colors. How can i solve it? Errors are:
25 C:\Dev-Cpp\include\conio.h conflicting types for `enum {anonymous} BLACK' 59 C:\Dev-Cpp\include\winbgim.h previous declaration as `enum colors BLACK' ...
Hoping answers, Juan
Would you please try if you add colors after enum in conio.h like typedef enum colors {, does this solve the problem. I would submit diff file then.
tkorrovi
Log in to post a comment.
hi, i am having trouble compiling a program with winbgim.h library. It has conflict with conio.h enum colors. How can i solve it?
Errors are:
25 C:\Dev-Cpp\include\conio.h
conflicting types for `enum {anonymous} BLACK'
59 C:\Dev-Cpp\include\winbgim.h
previous declaration as `enum colors BLACK'
...
Hoping answers,
Juan
Would you please try if you add colors after enum in conio.h like typedef enum colors {, does this solve the problem. I would submit diff file then.
tkorrovi