https://bugs.llvm.org/show_bug.cgi?id=48746
Richard Smith <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Richard Smith <[email protected]> ---
-DTFILE="/some/path//foo/bar"
is equivalent to
-DTFILE=/some/path//foo/bar
by shell escaping rules, which is equivalent to prefixing the input with
#define TFILE /some/path//foo/bar
by POSIX rules for the behavior of -D.
This defines TFILE to /some/path followed by a comment, in language modes that
recognize // comments (Clang's default language modes for C and C++ recognize
such comments).
You can use -std=c89 to disable support for // comments.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs