You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing options like -zastd=c11-zastd=c++03 to wcc/wpp causes them to freeze with 100% cpu use.
This is the kind of option that people will try their luck with, and build systems might attempt to probe it; should be worthwhile to make it more well behaved.
It looks like the option parser only increment for known values, so for c11 the global char pointer will likely be stuck at '1'.
Passing options like
-zastd=c11
-zastd=c++03
to wcc/wpp causes them to freeze with 100% cpu use.This is the kind of option that people will try their luck with, and build systems might attempt to probe it; should be worthwhile to make it more well behaved.
It looks like the option parser only increment for known values, so for
c11
the global char pointer will likely be stuck at'1'
.open-watcom-v2/bld/cc/c/coptions.c
Lines 189 to 197 in a3d9dea
open-watcom-v2/bld/plusplus/c/cmdlnany.c
Lines 124 to 138 in a3d9dea
The text was updated successfully, but these errors were encountered: