You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I think maybe it is nice for pcpp to be more explicit to list the h2.h in the final output.
The text was updated successfully, but these errors were encountered:
smwikipedia
changed the title
Header with only macro definitions are silently processed without leaving a trace in the final preprocessed output.
Header with only macro definitions are silently processed implicitly without leaving a trace in the final preprocessed output.
Nov 22, 2019
smwikipedia
changed the title
Header with only macro definitions are silently processed implicitly without leaving a trace in the final preprocessed output.
Header with only macro definitions are silently processed without leaving a trace in the final preprocessed output.
Nov 22, 2019
I tried with 4 files as below:
Folder structure:
(a.c)
(h1.h)
(h2.h)
(h3.h)
Then I run
pcpp a.c > pp.a.c
, the result is:We can see, the macro
H3
defined inh2.h
is effective. But there's no trace ofh2.h
being processed in the final ouputpp.a.c
file.I compared it to the result of
gcc
, I rungccc -E a.c > gcc.pp.a.c
, the result is:So I think maybe it is nice for
pcpp
to be more explicit to list theh2.h
in the final output.The text was updated successfully, but these errors were encountered: