Re: [PATCH] Pacify Oracle Studio 12.6 in init_switches

2019-08-27 Thread Paul Smith
On Tue, 2019-08-27 at 13:37 -0400, Dennis Clarke wrote: > "src/arscan.c", line 43: warning: tokens ignored at end of directive > line This was addressed by Paul's patch "Pacify Oracle Studio 12.6" > "src/dep.h", line 55: warning: nonportable bi

Re: [PATCH] Pacify Oracle Studio 12.6 in init_switches

2019-08-27 Thread Dennis Clarke
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

[PATCH] Pacify Oracle Studio 12.6 in init_switches

2019-08-27 Thread Paul Eggert
* 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: pointer to char "=" pointer to const char’. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH] Pacify Oracle Studio 12.6

2019-08-27 Thread Paul Eggert
* src/arscan.c [VMS]: Use ‘#if !defined LBR$_HDRTRUNC’ instead of ‘#ifndef LBR$_HDRTRUNC’ to pacify Oracle Studio 12.6, which looks inside unused #if branches for preprocessor syntax errors. Without this patch it complains ‘"src/arscan.c", line 43: warning: tokens ignored at end of directive line’.