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
causes the following warnings, regarding usage of GNU line directives, to appear:
example.i:1:5: warning: this style of line directive is a GNU extension [-Wgnu-line-marker]
# 1 "<source>"<source>:1:5: warning: this style of line directive is a GNU extension [-Wgnu-line-marker]
# 1 "<built-in>" 1 ^2 warnings generated.
causes the following warnings, regarding usage of GNU line directives, to appear:
example.i:1:5: warning: this style of line directive is a GNU extension [-Wgnu-line-marker]
# 1 "<source>"<source>:1:5: warning: this style of line directive is a GNU extension [-Wgnu-line-marker]
# 1 "<built-in>" 1 ^2 warnings generated.
when compiled with
-pedantic -save-temps
flags:causes the following warnings, regarding usage of GNU line directives, to appear:
(you can see it here https://godbolt.org/z/ffMePa77o)
This is because Clang has some hardcoded GNU line directives, which it adds during preprocessing in the function
clang::InitializePreprocessor
.Can they be cleaned?
The text was updated successfully, but these errors were encountered: