Glib 1.3 and Digital UNIX
- From: Bernd Demian <wega csc-dd de>
- To: GTK-List <gtk-list gnome org>
- Subject: Glib 1.3 and Digital UNIX
- Date: Wed, 04 Oct 2000 14:13:42 +0200
Hi,
I have a little problem with the newest header file glib.h.
When I use glib.h in c++ context I get following error message:
cxx: Error: ../glib.h, line 355: more than one instance of overloaded
function "alloca" has "C" linkage
void *alloca ();
------^
cxx: Info: 1 error detected in the compilation of "test.cpp".
Thats because alloca is a function under Digital Unix and not a macro I
think.
alloca.h :
extern void *alloca(int);
#pragma intrinsic(alloca)
I hope you can help.
Thanks Bernd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]