Skip to content
Tcl Source Code Artifact [5384c5997e]
Login

Artifact [5384c5997e]

Artifact 5384c5997e78dc8e82725e3e7aa4e29ab4220c8c69b3b67682a9697da8eed39a:

Ticket change [5384c5997e] - Ticket [1e48483c8b3b2702|1e48483c8b] <i>Use of non-standard C code in TCLBOOLWARNING</i> status still Open with 3 other changes by gustafn3 on 2024-04-26 12:00:15.
D 2024-04-26T12:00:15.573
J icomment There\sare\svarious\smeans\sto\saddress\sC++\scompatibility:\r\n\r\none\scan\sdeactivate\sthe\scheck\sin\sc++\s(there\sis\sanyhow\sno\sfull\scoverage),\sthis\swould\saddress\sboth\scases,\sor\r\n\r\n...\sone\scan\sadd\s"-std=c++11"\sto\sthe\scompile\sflags\sfor\sc++\sprograms\s(for\sthe\sfirst\scase)\r\n...\sone\scan\suse\sthe\scomma\soperator\sand\sa\slambda-expression\sin\sthe\sCPP\scase\s(([]{static_assert(true,"");},\s....))\s...\sthis\saddresses\sthe\ssecond\scase\sfor\sc++\r\n\r\nStill\swondering:\swouldn't\sit\sbe\sbetter\sto\sreduce\scasting\sand\sall\sthis\smanual\schecking,\s\r\nand\slet\sthe\scompiler\sspit\sout\swarnings\son\stype\smismatches\s(maybe\sdependent\son\sthe\s"backward\scompatibility"\sflag)?
J login gustafn3
J mimetype text/plain
K 1e48483c8b3b2702b981ebcc85474512bb3d6e0d
U gustafn3
Z 2f45deb4b24a5d205425cd0d2520b1f1