Re: junk after endif

From: Matthew Sullivan (matthew_at_uq.edu.au)
Date: 04/28/05

  • Next message: FreeBSD Tinderbox: "[current tinderbox] failure on ia64/ia64"
    Date: Thu, 28 Apr 2005 15:51:08 +1000
    To: Chuck Robey <chuckr@chuckr.org>
    
    
    

    Chuck Robey wrote:

    > in making the environment for my new sparc box, I'm building a new
    > buildworld for the sparc, that that's giving me REAMS of useless
    > errors about "junk at the end of the line", you know what it is from
    > watching the error come up from cpp listings...except that these come
    > from make, not from C code... having this come up in the situation I'm
    > in, with zero (besides merely a KERNCONF) in the /etc/make.conf, then
    > having this error come up so often it obscures the real listing is
    > egregiously crazy.
    >
    > So, the fix falls into one of these categories:
    >
    > 1) there is a magic incantation I don't know, and don't have time to
    > hunt down, that kills this warning in make, and I need to know this,
    > but that's not the fix ... the fix is (possibly) to make the default
    > action that this is NOT a warning.
    >
    > 2) I know that many folks like to do this to endif's, but it's an
    > warning in C, and we should tell the folks who like it "tough" and
    > take them out.
    >
    > However it's decided, to squish the warning or to squish the tags,
    > it's unacceptable to leave those semantically useless warnings laying
    > about, hiding real problems.
    >
    I got them when going from HEAD to RELENG_5_3 ... rm -r /usr/obj fixed it.

    Regards,

    -- 
    Matthew Sullivan
    Specialist Systems Programmer
    Information Technology Services
    The University of Queensland
    
    



  • Next message: FreeBSD Tinderbox: "[current tinderbox] failure on ia64/ia64"

    Relevant Pages

    • iterating array; useless use of private variable
      ... generates a warning "useless use of private variable in void context" at ... Can anyone explain why the warning message? ... print "patient shows high probability of xxx condition.\n"; ...
      (perl.beginners)
    • Re: Useless use of a variable in a void context
      ... Then either you are transcribing wrong, or that book is useless. ... Did you read the description of the warning in `perldoc perldiag`? ... you're uselessly using $z in a void context as well. ... So this is functionally equivalent ...
      (perl.beginners)
    • Re: HA-prosper update
      ... > It only displays a warning in the log and no error, ... > go on and meet the first error that is still the one caused by an old ... Then the use of the optional argument is useless. ... Prev by Date: ...
      (comp.text.tex)
    • Re: is -w really useful?
      ... warning: useless use of < in void context ... @compoundfont not initialized ...
      (comp.lang.ruby)
    • Re: junk after endif
      ... Harti Brandt wrote: ... > CR>down, that kills this warning in make, and I need to know this, but that's ... > CR>However it's decided, to squish the warning or to squish the tags, it's ... > CR>hiding real problems. ...
      (freebsd-current)