Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protobuf wrong compiling format? #30

Open
kem0x opened this issue Sep 7, 2023 · 2 comments
Open

Protobuf wrong compiling format? #30

kem0x opened this issue Sep 7, 2023 · 2 comments
Labels

Comments

@kem0x
Copy link

kem0x commented Sep 7, 2023

image
As shown above this project makes use of google's protobuf and compiling a generated c++ file by protobuf seems to not work...

I believe this is due to the fact that clang uses .pcm files instead of microsoft's .ifc files, Is there any work around this issue?

@gmh5225
Copy link
Collaborator

gmh5225 commented Sep 8, 2023

This is the same as #29.

I think it is more reasonable to wait for the official fix. This feature will be fixed sooner or later.
https://discourse.llvm.org/t/clang-cl-exe-support-for-c-modules/72257/14
llvm/llvm-project#64118

In most cases. You can try to choose ISO C++20 Standard (/std:c++20) to solve the problem

@gmh5225 gmh5225 added the MSVC label Sep 8, 2023
@kem0x
Copy link
Author

kem0x commented Sep 8, 2023

I have the same issue on c++20 aswell and sadly i can't downgrade more, and the official llvm discourse seems to be stale sadly...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants