public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap
@ 2003-07-28 20:10 phil dot el at wanadoo dot fr
  2003-07-28 20:12 ` [Bug libstdc++/11696] " pinskia at physics dot uc dot edu
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: phil dot el at wanadoo dot fr @ 2003-07-28 20:10 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: building basic C++ application fails with -fmudflap
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: phil dot el at wanadoo dot fr
                CC: fche at redhat dot com,gcc-bugs at gcc dot gnu dot org
  GCC host triplet: GNU/linux i386

probably a known problem since it's very simple and all c++
user should reach it.

#include <cstring>

$ g++ -fmudflap tmp.cpp

/usr/local/gcc-tree-ssa/include/c++/3.5-tree-ssa/cstring:79: error: `::memcpy'
   has not been declared
....

mudflap #define memcpy __mfwrap_memcpy, <cstring> include <string.h> then
#undef memcpy so compiler fail on a later using ::memcpy;

I've no idea if the problem must be consided in libstdc++ or in mf-runtime.h

regards,
Philippe Elie


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

end of thread, other threads:[~2003-11-20 21:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
2003-07-28 20:12 ` [Bug libstdc++/11696] " pinskia at physics dot uc dot edu
2003-07-28 20:13 ` pinskia at physics dot uc dot edu
2003-07-28 20:37 ` fche at redhat dot com
2003-11-06 16:23 ` fche at redhat dot com
2003-11-07 19:11 ` fche at redhat dot com
2003-11-20 21:47 ` [Bug libstdc++/11696] [mudflap] " pinskia at gcc dot gnu dot org
2003-11-20 21:52 ` fche at redhat dot com
2003-11-20 21:54 ` fche at redhat dot com

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