Re: Are there any problems compiling C written GTK using program in g++ ?[noob question]



Le jeudi 13 avril 2006 �2:05 +0200, hm a �it :
> I`ve got a question .. is there any possibility to compile a program written in ANSI C, which is using GTK by g++ compiler, without rewriting code ?  It`s very important. 

Of course you can compile GTK+ C written code with g++.
C++ understand ANSI C and Gtk+ is designed to use this compiler with
specific directives :

#ifdef __cplusplus
extern "C"
{
#endif
// Bla bla 
#ifdef __cplusplus
}
#endif


Regards

R�s





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]