www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/08/05/09:47:48

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
Message-ID: <19980805113105.04760@hrzpub.tu-darmstadt.de>
Date: Wed, 5 Aug 1998 11:31:05 +0200
From: Alexander Mai <st002279 AT HRzpUB DOT tu-darmstadt DOT DE>
To: beastium-list AT Desk DOT nl
Subject: pgcc & X11 headers
Mime-Version: 1.0
X-Mailer: Mutt 0.88
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 33

Hello,

I've compiled 
gcc version pgcc-2.90.29 980515 (egcs-1.0.3 release)
on a linux box with XFree 3.2 installed. In general it seems to work
ok, but when compiling some X11 applications with -Wall I got 
many of the following error messages:

/usr/X11R6/include/X11/Xlib.h:4062: warning: type defaults to `int' in declaration 
of `XSync'

Old gcc 2.7.x didn't issue this warning. The example statement refers to

extern XSync(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Bool                /* discard */
#endif
);

which is obviously lacking a type.

Can I get back the old behaviour ? I don't want to disable warnings about
implicit declarations in general.


-- 
Alexander Mai
st002279 AT hrzpub DOT tu-darmstadt DOT de
am AT os-2 DOT de


P.S. Sorry, if my subscribe request has also been sent this list ...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019