mycoboco / beluga

a standard C compiler (with an integrated preprocessor)
http://code.woong.org/beluga
Other
65 stars 8 forks source link

revise option specification to control include paths #113

Closed mycoboco closed 6 years ago

mycoboco commented 6 years ago

The current short explanation for controlling #include paths is incorrect and needs to be revised.

mycoboco commented 6 years ago

To sum up beluga's behavior,

The order in which paths are taken is:

To compare to gcc:

gcc's #include path order is: