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

           Summary: [avr] gcc does not build (error: format not a string
                    literal and no format arguments)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: kice...@gmail.com


It's impossible to compile gcc for avr:

 ../gcc-4.6.0/configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --target=avr --enable-languages=c,c++ --disable-lto

fails with:

x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 
-I../../gcc-4.6.0/libcpp -I. -I../../gcc-4.6.0/libcpp/../include
-I../../gcc-4.6.0/libcpp/include  -W -Wall -Wextra -Winit-self -Wformat=2
-Wshadow -Wlogical-op -pipe -I/home/michal/projects/usr/include -W -Wall
-Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic
-Wno-long-long  -I../../gcc-4.6.0/libcpp -I.
-I../../gcc-4.6.0/libcpp/../include -I../../gcc-4.6.0/libcpp/include  -c -o
expr.o -MT expr.o -MMD -MP -MF .deps/expr.Tpo ../../gcc-4.6.0/libcpp/expr.c
../../gcc-4.6.0/libcpp/expr.c: In function ‘cpp_classify_number’:
../../gcc-4.6.0/libcpp/expr.c:437:13: error: format not a string literal and no
format arguments
../../gcc-4.6.0/libcpp/expr.c:439:13: error: format not a string literal and no
format arguments

Reply via email to