0

C++ "standalone" # operator

I 've compiled the file "hello.cpp" using the command "g++ -save-temps hello.cpp" and in the preprocessed file ("hello.ii") I saw lots of hashtags with no directives. Ex. : # 1 "/data/data/com.n0n3m4.droidc/files/gcc/arm-linux-androideabi/include/c++/7.2.0/stdio.h" 1 3 Can anybody tell me what do they mean? Note: I 'm using GCC on C4droid.

1st Oct 2018, 12:04 PM
OrHy3
OrHy3 - avatar
2 odpowiedzi
+ 1
They are intermediate files obtained from preprocessing headers... more info here https://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
1st Oct 2018, 12:30 PM
KrOW
KrOW - avatar
+ 1
thanks
1st Oct 2018, 12:58 PM
OrHy3
OrHy3 - avatar