Skip to content

Add support for MS compiler as a C preprocessor#272

Open
pps83 wants to merge 1 commit intoyasm:masterfrom
pps83:msvc-cl-cpp
Open

Add support for MS compiler as a C preprocessor#272
pps83 wants to merge 1 commit intoyasm:masterfrom
pps83:msvc-cl-cpp

Conversation

@pps83
Copy link

@pps83 pps83 commented Mar 28, 2024

Note, that cl.exe has to be specified for CPP_PROG in config.h, or though cmake. This PR makes sure that cl.exe can be used if specified.

  • fix missing trailing \0 in filename in cpp_line_marker function
  • replace ms-style #line \d+ directives with gcc-style. This fixes debug info

@pps83 pps83 changed the title Adds support for MS compiler as a C preprocessor Add support for MS compiler as a C preprocessor Apr 1, 2024
@pps83
Copy link
Author

pps83 commented Nov 29, 2024

@PeterJohnson please take a look

Note, that cl.exe has to be specified for CPP_PROG in config.h, or though cmake. This PR makes sure that cl.exe can be used if specified.

 + fix missing trailing \0 in filename in cpp_line_marker function
 + replace ms-style #line \d+ directives with gcc-style. This fixes debug info
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.

1 participant