Re: Are there any problems compiling C written GTK using program in g++ ?[noob question]
- From: regis <r floret laposte net>
- To: hm <z_b_r poczta fm>
- Cc: gtk-list gnome org
- Subject: Re: Are there any problems compiling C written GTK using program in g++ ?[noob question]
- Date: Thu, 13 Apr 2006 14:00:08 +0400
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]