-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit 5985bf8
Don't bail out if got include unrelated error while preprocessing
Preprocessing is a bit tricky, since it expects an error to resolve missing includes; to do this, it invokes gcc with -CC flag (https://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Preprocessor-Options.html#Preprocessor-Options) to expand macro AND comments. Since this flag is not used during normal compilation, the errors reported are mostly bogus.
This patch avoids writing the actual (non-include) error on stdout so the compilation can go on and fail on the proper errors (if there's any)1 parent f3748a5 commit 5985bf8
1 file changed
+0
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
346 | - | ||
347 | - | ||
348 | - | ||
349 | - | ||
350 | - | ||
351 | 346 |
| |
352 | 347 |
| |
353 | 348 |
| |
|
0 commit comments