|
From: | Randall S. Becker |
Subject: | Compile Error in c99 |
Date: | Wed, 19 Aug 2020 19:23:29 -0400 |
The c99 compiler used on NonStop caught this one. I think it’s legit: static const TTY null_TTY; /* all zeros iff uninitialized */ ^ "/home/jenkins/.jenkins/workspace/Ncurses_Pipeline/ncurses/../ncurses/./base/lib_set_term.c", line 309: warning(338): const variable "null_TTY" requires an initializer A const scalar should be initialized. Do not depend on the compiler to generate initialization code. This may come from whatever is on the stack instead of memory, which is assumed for globals, but not for stack variables. Regards, Randall -- Randall S. Becker ITUGLIB Process Designer, Repository Manager, Occasional Porting Dude +1.416.984.9826 NonStop developer since approximately 211288444200000000 UNIX developer since approximately 421664400 -- In my real life, I talk too much. |
[Prev in Thread] | Current Thread | [Next in Thread] |