public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/33131] [4.2 regression] libgomp/env.c:60: warning: implicit declaration of function 'strncasecmp'
Date: Sun, 24 Feb 2008 07:10:00 -0000	[thread overview]
Message-ID: <20080224070929.4348.qmail@sourceware.org> (raw)
In-Reply-To: <bug-33131-8784@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from bugzilla-gcc at thewrittenword dot com  2008-02-24 07:09 -------
(In reply to comment #3)
> Created an attachment (id=15208)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15208&action=view) [edit]
> patch to include string.h and strings.h (stolen from libcpp)
> 
> Patch does not include generated files (configure, config.h.in)
> 

To elaborate, the attached patch fixes it for us because strncasecmp is
declared in strings.h, which is not being included. At first we went with the
unconditional inclusion of strings.h, but that seemed inappropriate, so we
copied what was in libcpp for string.h and strings.h.


-- 

bugzilla-gcc at thewrittenword dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla-gcc at
                   |                            |thewrittenword dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33131


  parent reply	other threads:[~2008-02-24  7:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21  3:23 [Bug libgomp/33131] New: " skunk at iskunk dot org
2007-09-26 19:13 ` [Bug libgomp/33131] " pinskia at gcc dot gnu dot org
2007-09-28  3:59 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:27 ` mmitchel at gcc dot gnu dot org
2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
2008-02-22 20:23 ` bugzilla-gcc at thewrittenword dot com
2008-02-24  7:10 ` bugzilla-gcc at thewrittenword dot com [this message]
2008-02-24  8:59 ` rwild at gcc dot gnu dot org
2008-02-25 18:55 ` bugzilla-gcc at thewrittenword dot com
2008-03-03 22:36 ` rwild at gcc dot gnu dot org
2008-05-19 20:47 ` jsm28 at gcc dot gnu dot org
2008-07-27 21:00 ` jakub at gcc dot gnu dot org
2009-04-29 15:14 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080224070929.4348.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).