Menu

Using winbgim.h and conio.h

2002-12-28
2012-09-26
  • Nobody/Anonymous

    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

     
    • Nobody/Anonymous

      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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.