On Tue, 13 Dec 2022 08:17:09 GMT, Justin King <jck...@openjdk.org> wrote:

> I tried to use a single file, but the build logic attempts to compile as 
> either C or C++ based on file extensions, and has logic based on it. So if I 
> use `.cpp` and the target is all `.c` odd things happen. The same for the 
> inverse.

What happens if you just always use a `.c` file for this? Won't the linker 
accept that?

-------------

PR: https://git.openjdk.org/jdk/pull/11604

Reply via email to