On 02/10/2013 12:49 AM, Jay K wrote:
> problems compiling 4.7, with Solaris cc and/or Solaris CC (C++)
> [...]
>
> 2) given:
>
> int foo()
> {
> gcc_unreachable();
> }
>
>
> Solaris cc/CC gives a warning or maybe an error.
> It should be:
>
>
> int foo(void)
> {
> gcc_unreachable();
> return 0;
> }
I think that this might be possible to be silenced by #pragma
does_not_return(gcc_unreachable), at least according to
<http://docs.oracle.com/cd/E24457_01/html/E21991/bkbjx.html#bkbka>> [...]
signature.asc
Description: OpenPGP digital signature
