On Wed, 10 Jun 2026 16:58:13 GMT, Kevin Rushforth <[email protected]> wrote:
>> buildSrc/src/main/groovy/com/sun/javafx/gradle/CCTask.groovy line 68:
>>
>>> 66: // A little hack. Only use the -std=c99 flag if
>>> compiling .c or .m
>>> 67: if (sourceFile.name.endsWith(".cpp") ||
>>> sourceFile.name.endsWith(".cc") || sourceFile.name.endsWith(".mm")) {
>>> 68: def stripped = new ArrayList<String>(params);
>>
>> pre-existing: the comment in L66 does not exactly correspond to code...
>
> Right. I decided to leave it, since it's conceptually accurate, if imprecise.
it will break the moment someone adds a .c++ file, but right now we are ok.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2186#discussion_r3390154686