On Wed, 2022-05-18 at 11:57 +0100, Jonathan Wakely wrote: > On Wed, 18 May 2022 at 11:45, Zopolis0 wrote: > > > > I thought " But "-D...", "-I...", and "-B..." shall be > > removed." was asking me to remove them. > > > > I used -E, I said I produced the file. > > Ah I missed that, sorry. I thought you were still trying to produce a > .ii file. My mistake: I didn't expect that this .ii file contains "extern Java { ... }", not supported by GCC trunk. So for the OP, the only option seems to reduce the .ii file into a test case and debug the compiler. I guess the OP has made some mistake implementing "extern Java" for C++ FE. -- Xi Ruoyao <xry111@xxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University