[LLVMbugs] [Bug 17203] New: cmake produces invalid c++ SVNVersion.inc
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Sep 12 02:07:35 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17203
Bug ID: 17203
Summary: cmake produces invalid c++ SVNVersion.inc
Product: Build scripts
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: tm at ayena.de
CC: jordan_rose at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Revision: 190595
Using cmake for build configuration and ninja for building.
CMake produces SVNVersion.inc that linebreaks LLVM_REPOSITORY line and thereby
making it invalid.
cmake version 2.8.11.2
[63/364] Building CXX object
tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Version.cpp.o
FAILED: /usr/bin/c++ -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER
-DCLANG_ENABLE_STATIC_ANALYZER -DHAVE_SVN_VERSION_INC -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default
-Wnon-virtual-dtor -fcolor-diagnostics -fno-common -Woverloaded-virtual
-Wcast-qual -fno-strict-aliasing -fno-rtti -O2 -g -DNDEBUG
-Itools/clang/lib/Basic -I/Users/tobias/dev/rep/llvm/tools/clang/lib/Basic
-I/Users/tobias/dev/rep/llvm/tools/clang/include -Itools/clang/include
-Iinclude -I/Users/tobias/dev/rep/llvm/include -UNDEBUG -fno-exceptions -MMD
-MT tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Version.cpp.o -MF
"tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Version.cpp.o.d" -o
tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Version.cpp.o -c
/Users/tobias/dev/rep/llvm/tools/clang/lib/Basic/Version.cpp
In file included from
/Users/tobias/dev/rep/llvm/tools/clang/lib/Basic/Version.cpp:22:
tools/clang/lib/Basic/SVNVersion.inc:2:25: warning: missing terminating '"'
character [-Winvalid-pp-token]
#define LLVM_REPOSITORY "http://llvm.org/svn/llvm-project/llvm/trunk
^
tools/clang/lib/Basic/SVNVersion.inc:3:3: error: expected unqualified-id
^/llvm/trunk"
^
tools/clang/lib/Basic/SVNVersion.inc:3:14: warning: missing terminating '"'
character [-Winvalid-pp-token]
^/llvm/trunk"
^
tools/clang/lib/Basic/SVNVersion.inc:5:24: warning: missing terminating '"'
character [-Winvalid-pp-token]
#define SVN_REPOSITORY "http://llvm.org/svn/llvm-project/cfe/trunk
^
tools/clang/lib/Basic/SVNVersion.inc:6:13: warning: missing terminating '"'
character [-Winvalid-pp-token]
^/cfe/trunk"
^
/Users/tobias/dev/rep/llvm/tools/clang/lib/Basic/Version.cpp:32:17: error:
expected expression
StringRef URL(SVN_REPOSITORY);
^
tools/clang/lib/Basic/SVNVersion.inc:5:24: note: expanded from macro
'SVN_REPOSITORY'
#define SVN_REPOSITORY "http://llvm.org/svn/llvm-project/cfe/trunk
^
/Users/tobias/dev/rep/llvm/tools/clang/lib/Basic/Version.cpp:59:17: error:
expected expression
StringRef URL(LLVM_REPOSITORY);
^
tools/clang/lib/Basic/SVNVersion.inc:2:25: note: expanded from macro
'LLVM_REPOSITORY'
#define LLVM_REPOSITORY "http://llvm.org/svn/llvm-project/llvm/trunk
^
4 warnings and 3 errors generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130912/643b74d0/attachment.html>
More information about the llvm-bugs
mailing list