Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Digital Mars and Fltk
Hi, I am trying to cmpile Fltk GUI (www.fltk.org) using DMC, but I am getting some errors. One of them is a problem with overloaded functions like : ------- src\Fl_Pixmap.cxx(52) : Error: ambiguous reference to symbol Had: fl_measure_pixmap(char *const *, int &, int &) and: fl_measure_pixmap(char const *const *, int &, int &) fl_draw_pixmap(data(), 0, 0, FL_BLACK); ------- and ------- src\Fl_Pixmap.cxx(87) : Error: ambiguous reference to symbol Had: fl_draw_pixmap(char *const *, int, int, int enum Fl_Color) and: fl_draw_pixmap(char const *const *, int, int, int enum Fl_Color) ------- Is there a quick solution for this kind of errors ? (I am rather lammer in C++). -- Karol Gottan Jan 26 2004
"Karol Gottan" <gottan op.pl> wrote in message news:bv2v0h$937$1 digitaldaemon.com...Hi, I am trying to cmpile Fltk GUI (www.fltk.org) using DMC, but I am getting some errors. One of them is a problem with overloaded functions like : ------- src\Fl_Pixmap.cxx(52) : Error: ambiguous reference to symbol Had: fl_measure_pixmap(char *const *, int &, int &) and: fl_measure_pixmap(char const *const *, int &, int &) fl_draw_pixmap(data(), 0, 0, FL_BLACK); ------- Jan 26 2004
<walter digitalmars.com> wrote :"Karol Gottan" <gottan op.pl> wrote in message news:bv2v0h$937$1 digitaldaemon.com...Hi, I am trying to cmpile Fltk GUI (www.fltk.org) using DMC, but I am getting some errors. One of them is a problem with overloaded functions like : ------- src\Fl_Pixmap.cxx(52) : Error: ambiguous reference to symbol Had: fl_measure_pixmap(char *const *, int &, int &) and: fl_measure_pixmap(char const *const *, int &, int &) fl_draw_pixmap(data(), 0, 0, FL_BLACK); ------- Jan 27 2004
"Karol Gottan" <gottan op.pl> wrote in message news:bv6fn2$jo$1 digitaldaemon.com...<walter digitalmars.com> wrote :"Karol Gottan" <gottan op.pl> wrote in message news:bv2v0h$937$1 digitaldaemon.com...Hi, I am trying to cmpile Fltk GUI (www.fltk.org) using DMC, but I am getting some errors. One of them is a problem with overloaded functions like : ------- src\Fl_Pixmap.cxx(52) : Error: ambiguous reference to symbol Had: fl_measure_pixmap(char *const *, int &, int &) and: fl_measure_pixmap(char const *const *, int &, int &) fl_draw_pixmap(data(), 0, 0, FL_BLACK); ------- Jan 27 2004
Walter wrote:Can you give a complete code snippet illustrating the problem? Jan 28 2004
Ok. To work around, I suggest commenting out the declaration not needed. Thanks, -Walter Jan 28 2004
<walter digitalmars.com> wrote :Ok. To work around, I suggest commenting out the declaration not needed. Jan 28 2004
|