This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31843] New: -Wformat-nonliteral differs between gcc and g++


$ gcc -dumpversion
4.1.1

$ g++ -dumpversion
4.1.1

$ gcc -Wall -Wformat-nonliteral format_nonliteral.c 

$ g++ -Wall -Wformat-nonliteral format_nonliteral.c 
format_nonliteral.c: In function ?int main(int, char**)?:
format_nonliteral.c:10: warning: format not a string literal, argument types
not checked


-- 
           Summary: -Wformat-nonliteral differs between gcc and g++
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at gaul dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]