Newbey Question
- From: Tor Lillqvist <tml iki fi>
- To: "Jamiil Abdullah-Alkadir" <jamiil_abdullah_alkadir hotmail com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Newbey Question
- Date: Fri, 8 Apr 2005 02:18:42 +0300
Jamiil Abdullah-Alkadir writes:
main.cpp:41: error: invalid conversion from 'void (*)(GtkButton*, void*)' to
The name of the library is GTK+, not GTK++. The "+" in the name has
nothing to do with C++. (There are C++ wrappers for GTK+, but you
don't seem to be using any such.)
To reduce confusion, don't compile your C code as if it was
C++. I.e., rename your source file to main.c, and compile with gcc,
not g++.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]