This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question on Xlib.h


Hello,

This question may have been asked already but I just subscribed.

I get the following errors:

c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -fexternal-templates -felide-constructors -fconserve-space -trigraphs -c -I. -I. -I./.. -I/opt/GBxpm/include -I/usr/dt/include  -I/usr/openwin/include -o myapp myapp.cc
cc1plus: warning: -fexternal-templates is deprecated.
cc1plus: warning: Please see the documentation for details.
In file included from /usr/openwin/include/X11/Intrinsic.h:30,
                 from myapp.h:39,
                 from myapp.C:137:
/usr/openwin/include/X11/Xlib.h:1894: ANSI C++ forbids declaration `XSetTransientForHint' with no type
/usr/openwin/include/X11/Xlib.h:1902: ANSI C++ forbids declaration `XActivateScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:1909: ANSI C++ forbids declaration `XAddHost' with no type
/usr/openwin/include/X11/Xlib.h:1917: ANSI C++ forbids declaration `XAddHosts' with no type
/usr/openwin/include/X11/Xlib.h:1924: ANSI C++ forbids declaration `XAddToExtensionList' with no type
My question is to know if there is a resolution to include a fix for Xlib.h
in the distribution or to put -fpermissive in all the Makefile(s) I have.

Thank you very much for your help.

Sincerely,

Jean Casteres
 
 

begin:vcard 
n:Casteres;Jean
tel;fax:(33)5.61.19.10.12
tel;work:(33)5.61.19.94.09
x-mozilla-html:FALSE
org:WSSG;TWDC
version:2.1
email;internet:jean.casteres@motorola.com
title:Wireless Software Engineer
adr;quoted-printable:;;Avenue du G=E9n=E9ral Eisenhower=0D=0ALe Mirail - B.P. 1029;Toulouse;;31023;France
x-mozilla-cpt:;-17136
fn:Jean Casteres
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]