public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/48825] New: libiberty "psignal" lacks const modifier, failing to compile when HAVE_PSIGNAL is undefined
@ 2011-04-29 16:28 wkor97gy0eef1fr at i dot mintemail.com
  2011-04-29 16:43 ` [Bug c/48825] " pinskia at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: wkor97gy0eef1fr at i dot mintemail.com @ 2011-04-29 16:28 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: libiberty "psignal" lacks const modifier, failing to
                    compile when HAVE_PSIGNAL is undefined
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: wkor97gy0eef1fr@i.mintemail.com


../../../libiberty/strsignal.c:554:1: error: conflicting types for ‘psignal’
/usr/include/signal.h:150:13: note: previous declaration of ‘psignal’ was here


strsignal.c:

#ifndef HAVE_PSIGNAL
void 
psignal (int signo, char *message)


/usr/include/signal.h (GLIBC)

extern void psignal (int __sig, __const char *__s);


adding the __const modifier to the prototype of psignal in strsignal.c fixes
compilation.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-12-15  1:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-29 16:28 [Bug c/48825] New: libiberty "psignal" lacks const modifier, failing to compile when HAVE_PSIGNAL is undefined wkor97gy0eef1fr at i dot mintemail.com
2011-04-29 16:43 ` [Bug c/48825] " pinskia at gcc dot gnu.org
2011-04-29 16:55 ` wkor97gy0eef1fr at i dot mintemail.com
2011-04-29 17:04 ` froydnj at codesourcery dot com
2011-04-30 12:34 ` wkor97gy0eef1fr at i dot mintemail.com
2011-06-02 19:31 ` pinskia at gcc dot gnu.org
2011-06-08 11:49 ` hp at gcc dot gnu.org
2011-06-22 21:32 ` hp at gcc dot gnu.org
2011-06-27 20:56 ` hp at gcc dot gnu.org
2011-06-27 21:06 ` hp at gcc dot gnu.org
2011-10-07  3:07 ` fzvqedi at v dot mintemail.com
2011-10-07  3:21 ` fzvqedi at v dot mintemail.com
2011-12-15  1:45 ` pinskia at gcc dot gnu.org

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).