Re: g++
- From: Clemens Kirchgatterer <clemens root at>
- To: xdufresne gmx fr
- Cc: gtk-app-devel-list gnome org
- Subject: Re: g++
- Date: Thu, 07 Jun 2001 12:25:33 +0200
xdufresne gmx fr wrote:
Hello,
I'm writing an app using gtk. I have to compile it with g++ because I also
use a C++ library, but gtk doesn't like it. A lot of compilation error appear
such as 'cannot convert void* to Gtk...'. All error are cast error.
Is there a special flag for g++ to avoid these problems ?
I tried to compile some files with g++ and those which contain gtk code with
gcc, but linkage fail: 'Undefined references ...'.
you have enclosed your c function declarations in:
#ifdef __cplusplus
extern "C" {
#endif
// .... (declarations here)
#ifdef __cplusplus
}
#endif
regards ...
clemens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]