wolfcw / libfaketime

libfaketime modifies the system time for a single application
https://github.com/wolfcw/libfaketime
GNU General Public License v2.0
2.64k stars 321 forks source link

Refactor to get rid of some non-standard gcc extensions #397

Closed j-xella closed 2 years ago

j-xella commented 2 years ago

Without the changes Sun studio 12.8 compiler fails, for example

Note that only the errors are fixed. On the compiler above, some warnings still remain, so -Werror has to be removed as well from the compiler switches in order for the compilation to succeed.

j-xella commented 2 years ago

Related to the issue #395