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

On Windows, using a GCC preprocessor does not work #331

Open
fschoenm opened this issue Apr 16, 2024 · 0 comments
Open

On Windows, using a GCC preprocessor does not work #331

fschoenm opened this issue Apr 16, 2024 · 0 comments

Comments

@fschoenm
Copy link
Contributor

When trying to run fastddsgen on Windows with a GCC preprocessor, it fails with the following error:

$ fastddsgen Header.idl -replace -ppPath aarch64-none-linux-gnu-cpp"
Processing the file Header.idl...
aarch64-none-linux-gnu-cpp: fatal error: too many input files
compilation terminated.
ERROR<callPreprocessor>: Preprocessor return an error 1

The problem seems to be that fastddsgen assumes that on Windows, cl.exe is the only valid compiler/preprocessor to use. The GCC preprocessor can only be used on Linux and macOS.

Could you somehow fix this problem (e.g. depending on the name of the -ppPath argument) or add a work-around via another CLI argument to specify the type of preprocessor?

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

No branches or pull requests

1 participant