GTK errors with Visual C++

A

Alexander Lefter

I am desperatelly trying to build a project using GTK with Visual C++. Maybe
someone here can help, cause I didn't get any feedback from the GTK list. I
get a lot of those errros:

c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing '{' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing ')' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing '{' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2059: syntax error :
')'

where
#define GTK_TYPE_CLIPBOARD (gtk_clipboard_get_type ())
#define GTK_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_TYPE_CLIPBOARD, GtkClipboard))
#define GTK_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GTK_TYPE_CLIPBOARD))

.....
line 58: GdkDisplay *gtk_clipboard_get_display (GtkClipboard
*clipboard);
 
F

Florian Weingarten

Alexander Lefter said:
I am desperatelly trying to build a project using GTK with Visual C++. Maybe

Neither GTK nor C++ are topic of this Newsgroup. You maybe want to ask your
question in a C++ group or on the GTK mailing list.


Flo
 
B

Bruno Desthuilliers

Florian said:
Neither GTK nor C++ are topic of this Newsgroup. You maybe want to ask your
question in a C++ group or on the GTK mailing list.

Flo,
GTK+ is C, not C++, Visual C++ is also a C compiler, and (please read)
the OP posted here since he didn't get answer on the GTK mailing list.

That being said, I agree that neither GTK+ nor C++ nor Visual C++ are
topical here !-)
 
B

Bruno Desthuilliers

Alexander said:
I am desperatelly trying to build a project using GTK with Visual C++. Maybe
someone here can help, cause I didn't get any feedback from the GTK list. I
get a lot of those errros:

c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing '{' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing ')' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing '{' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2059: syntax error :
')'

where
#define GTK_TYPE_CLIPBOARD (gtk_clipboard_get_type ())
#define GTK_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_TYPE_CLIPBOARD, GtkClipboard))
#define GTK_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GTK_TYPE_CLIPBOARD))

....
line 58: GdkDisplay *gtk_clipboard_get_display (GtkClipboard
*clipboard);

Alexander,
Since you're using wingtk, the most specific mailing-list is here :
https://lists.sourceforge.net/lists/listinfo/wingtk-wglade

which you could have found by yourself if you had taken the time to
google for wingtk, click the first link and Read the Fucking Page(tm).

Bruno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,102
Messages
2,570,645
Members
47,247
Latest member
GabrieleL2

Latest Threads

Top