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

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
Message-ID: <19980812213828.39662@cerebro.laendle>
Date: Wed, 12 Aug 1998 21:38:28 +0200
From: Marc Lehmann <pcg AT goof DOT com>
To: Alexander Mai <st002279 AT HRzpUB DOT tu-darmstadt DOT DE>, beastium-list AT Desk DOT nl
Subject: Re: pgcc & X11 headers
Mail-Followup-To: Alexander Mai <st002279 AT HRzpUB DOT tu-darmstadt DOT DE>,
beastium-list AT Desk DOT nl
References: <19980805113105 DOT 04760 AT hrzpub DOT tu-darmstadt DOT de>
Mime-Version: 1.0
In-Reply-To: <19980805113105.04760@hrzpub.tu-darmstadt.de>; from Alexander Mai on Wed, Aug 05, 1998 at 11:31:05AM +0200
X-Operating-System: Linux version 2.1.113 (root AT cerebro) (gcc version pgcc-2.91.51 19980714 (gcc2 ss-980609 experimental))
Status: RO
Lines: 28

On Wed, Aug 05, 1998 at 11:31:05AM +0200, Alexander Mai wrote:
> 
> /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.

why don't you just turn off that specific warning?????

      -----==-                                              |
      ----==-- _                                            |
      ---==---(_)__  __ ____  __       Marc Lehmann       +--
      --==---/ / _ \/ // /\ \/ /       pcg AT goof DOT com       |e|
      -=====/_/_//_/\_,_/ /_/\_\                          --+
    The choice of a GNU generation                        |
                                                          |

- Raw text -


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