bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Pacify Oracle Studio 12.6 in init_switches


From: Dennis Clarke
Subject: Re: [PATCH] Pacify Oracle Studio 12.6 in init_switches
Date: Tue, 27 Aug 2019 13:37:25 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Thunderbird/69.0

On 8/27/19 3:40 AM, Paul Eggert wrote:
* src/main.c (init_switches): Use a cast to convert char const *
to char *.  Without this patch, the compiler complains
‘"src/main.c", line 2643: warning: assignment type mismatch:

Using the c99 compiler with realyl strict CFLAGS I see these :

"src/arscan.c", line 43: warning: tokens ignored at end of directive line
"src/dep.h", line 55: warning: nonportable bit-field type
"src/dep.h", line 64: warning: nonportable bit-field type
"src/function.c", line 41: warning: nonportable bit-field type
"src/function.c", line 42: warning: nonportable bit-field type
"src/main.c", line 1054: warning: only 0 or 2 parameters allowed: main()
"src/read.c", line 1405: warning: statement not reached

However the compile proceeds fine.
Testsuite has a multitude of failures.


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



reply via email to

[Prev in Thread] Current Thread [Next in Thread]