Skip to content

Conversation

@NobodyXu
Copy link
Contributor

@NobodyXu NobodyXu commented Mar 7, 2024

Fixed #958

NobodyXu added 10 commits March 8, 2024 01:02
Signed-off-by: Jiahao XU <[email protected]>
which is more robust than checking output of `$compiler -v`

Signed-off-by: Jiahao XU <[email protected]>
When expanding the file, the compiler prints a lot of information to stderr
that it is not an error, but related to expanding itself.

cc would have to disable warning here to prevent generation of too many warnings.

Signed-off-by: Jiahao XU <[email protected]>
…utput is enabled

It's good to have the output for debugging.

Signed-off-by: Jiahao XU <[email protected]>
…abled

Can help find issues related to compiler family detection.

Signed-off-by: Jiahao XU <[email protected]>
Fallback to create `NamedTempfile` in `std::env::temp_dir()`

Signed-off-by: Jiahao XU <[email protected]>
@NobodyXu NobodyXu marked this pull request as ready for review March 8, 2024 07:51
It's not necessary.

Signed-off-by: Jiahao XU <[email protected]>
Copy link
Member

@workingjubilee workingjubilee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work locally. Can't attest to Windows correctness, but we'll find out very quickly if it isn't.

@NobodyXu NobodyXu merged commit f36d6a7 into main Mar 17, 2024
@NobodyXu NobodyXu deleted the fix/compile-family-detection branch March 17, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compiler version doesn't include clang or GCC: "cc" "--version"

4 participants