I meant to use "-Wl,--wrap" but accidentally just used --wrap. Notice that the
error message has turned it into -fwrap.  This is confusing.

[j...@iceland tmp]$ gcc --wrap -c m.c
cc1: error: unrecognized command line option "-fwrap"
[j...@iceland tmp]$ gcc --version
gcc (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)


-- 
           Summary: Unexpected error message for bad command line argument
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joel at gcc dot gnu dot org


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

Reply via email to