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

Add dependency on PCCTS-generated files for compiling ccccmain #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cjwatson
Copy link

@cjwatson cjwatson commented Dec 5, 2024

The missing dependency was sometimes (on the order of one in four times on my system) visible when using make --shuffle from GNU Make 4.4, resulting in something like this:

ccccmain.cc:33:10: fatal error: CParser.h: No such file or directory
   33 | #include "CParser.h"
      |          ^~~~~~~~~~~
compilation terminated.

It's a bit awkward to handle the way that generating the Ada files is disabled, but I tried to roughly match the way that ADA_SPAWN_OBJ and ADA_LANG_DEFINE are commented out.

The missing dependency was sometimes (on the order of one in four times
on my system) visible when using `make --shuffle` from GNU Make 4.4,
resulting in something like this:

  ccccmain.cc:33:10: fatal error: CParser.h: No such file or directory
     33 | #include "CParser.h"
        |          ^~~~~~~~~~~
  compilation terminated.

It's a bit awkward to handle the way that generating the Ada files is
disabled, but I tried to roughly match the way that `ADA_SPAWN_OBJ` and
`ADA_LANG_DEFINE` are commented out.
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