Package: pearpc
Version: 0.5.dfsg-2.1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-literal-operator

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -DHAVE_CONFIG_H -I. -I../../.. -I ../..    -Wundef -Wall 
> -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -g -fno-inline 
> -pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT -c -o ppc_alu.o ppc_alu.cc
> In file included from ppc_alu.cc:21:0:
> ppc_alu.cc: In function 'void ppc_opc_addox(PPC_CPU_State&)':
> ../../debug/tracers.h:75:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [19]', 'long unsigned int' arguments
>  #define PPC_ALU_ERR(msg...) {ht_printf("[CPU/ALU] <Error> "msg);exit(1); }
>                                         ^
> 
> ppc_alu.cc:158:2: note: in expansion of macro 'PPC_ALU_ERR'
>   PPC_ALU_ERR("addox unimplemented\n");
>   ^~~~~~~~~~~
> 
> ppc_alu.cc: In function 'void ppc_opc_addcox(PPC_CPU_State&)':
> ../../debug/tracers.h:75:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [19]', 'long unsigned int' arguments
>  #define PPC_ALU_ERR(msg...) {ht_printf("[CPU/ALU] <Error> "msg);exit(1); }
>                                         ^
> 
> ppc_alu.cc:216:2: note: in expansion of macro 'PPC_ALU_ERR'
>   PPC_ALU_ERR("addcox unimplemented\n");
>   ^~~~~~~~~~~
> 
> ppc_alu.cc: In function 'void ppc_opc_addeox(PPC_CPU_State&)':
> ../../debug/tracers.h:75:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [19]', 'long unsigned int' arguments
>  #define PPC_ALU_ERR(msg...) {ht_printf("[CPU/ALU] <Error> "msg);exit(1); }
>                                         ^
> 
> ppc_alu.cc:279:2: note: in expansion of macro 'PPC_ALU_ERR'
>   PPC_ALU_ERR("addeox unimplemented\n");
>   ^~~~~~~~~~~
> 
> ppc_alu.cc: In function 'void ppc_opc_addmeox(PPC_CPU_State&)':
> ../../debug/tracers.h:75:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [19]', 'long unsigned int' arguments
>  #define PPC_ALU_ERR(msg...) {ht_printf("[CPU/ALU] <Error> "msg);exit(1); }
>                                         ^
> 
> ppc_alu.cc:473:2: note: in expansion of macro 'PPC_ALU_ERR'
>   PPC_ALU_ERR("addmeox unimplemented\n");
>   ^~~~~~~~~~~
> 
> ppc_alu.cc: In function 'void ppc_opc_addzeox(PPC_CPU_State&)':
> ../../debug/tracers.h:75:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [19]', 'long unsigned int' arguments
>  #define PPC_ALU_ERR(msg...) {ht_printf("[CPU/ALU] <Error> "msg);exit(1); }
>                                         ^
> 
> ppc_alu.cc:528:2: note: in expansion of macro 'PPC_ALU_ERR'
>   PPC_ALU_ERR("addzeox unimplemented\n");
>   ^~~~~~~~~~~
> 
> ppc_alu.cc: In function 'void ppc_opc_divwx(PPC_CPU_State&)':
> ../../debug/tracers.h:52:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [21]', 'long unsigned int' arguments
>  #define PPC_ALU_WARN(msg...) ht_printf("[CPU/ALU] <Warning> "msg)
>                                         ^
> 
> ppc_alu.cc:1229:3: note: in expansion of macro 'PPC_ALU_WARN'
>    PPC_ALU_WARN("division by zero @%08x\n", aCPU.pc);
>    ^~~~~~~~~~~~
> 
> ppc_alu.cc: In function 'void ppc_opc_divwox(PPC_CPU_State&)':
> ../../debug/tracers.h:52:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [21]', 'long unsigned int' arguments
>  #define PPC_ALU_WARN(msg...) ht_printf("[CPU/ALU] <Warning> "msg)
>                                         ^
> 
> ppc_alu.cc:1270:3: note: in expansion of macro 'PPC_ALU_WARN'
>    PPC_ALU_WARN("division by zero\n");
>    ^~~~~~~~~~~~
> 
> ../../debug/tracers.h:75:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [19]', 'long unsigned int' arguments
>  #define PPC_ALU_ERR(msg...) {ht_printf("[CPU/ALU] <Error> "msg);exit(1); }
>                                         ^
> 
> ppc_alu.cc:1280:2: note: in expansion of macro 'PPC_ALU_ERR'
>   PPC_ALU_ERR("divwox unimplemented\n");
>   ^~~~~~~~~~~
> 
> ppc_alu.cc: In function 'void ppc_opc_divwux(PPC_CPU_State&)':
> ../../debug/tracers.h:52:40: error: unable to find string literal operator 
> 'operator""msg' with 'const char [21]', 'long unsigned int' arguments
>  #define PPC_ALU_WARN(msg...) ht_printf("[CPU/ALU] <Warning> "msg)
...

Reply via email to