c - What causes the "left but not entered" GCC compiler error? -
We recently participated in the following compiler error which was repeated at various places in our construction:
< Pre> line-map.c: file "& lt; a source_file name"; Left but not signed in
The source file was different at different points of the build. After some time, the compiler finally threw the following error:
After a lot of testing we found that this error was caused by some #defines was separate header file:
#define GEOGRAPHIC_LOC_TYPE_CGI 0 #define GEOGRAPHIC_LOC_TYPE_SAI 1 #define GEOGRAPHIC_LOC_TYPE_RAI 2 #define GEOGRAPHIC_LOC_TYPE_TAI 128 #define GEOGRAPHIC_LOC_TYPE_ECGI 129 #define GEOGRAPHIC_LOC_TYPE_TAI_AND_ECGI 130
We were taken to these #defines in the header file in which they are currently The C file was present, which was only at the place where they were currently being used. After that, we have not seen compiler error yet.
Can anyone explain what the above compiler errors mean and why does this work properly?
Thanks, Ryan
When you receive an ICE (internal compiler error) , It means that the GCC's internal mess has been caused not because of your code, but due to a bug inside the GCC code, which can be detected by emphasis Have run The bugs that you avoid in your code are probably not worthwhile.
The next steps are:
- Update to the latest GCC (4.4.2), to check that the ICE has been fixed.
- If it
- create one for that IC.
Comments
Post a Comment