On 11 July 2012 00:13, Yang Chen <[email protected]> wrote:
> On 7/11/12 1:32 PM, John Regehr wrote:
>>>
>>> Can you try again using the latest development version of LLVM/Clang?
>
> Should be fixed now.

Should it work against only trunk or against 3.1 ?  In either case I
am still getting an error with trunk.

mv -f .deps/clang_delta-SimplifyIf.Tpo .deps/clang_delta-SimplifyIf.Po
/usr/local/opt/bin/clang++ -DHAVE_CONFIG_H -I. -I..
-DGIT_VERSION=\"12eaba8\" -I"/usr/local/opt/include/clang"
-I/usr/local/opt/include  -fPIC -fvisibility-inlines-hidden   -Wall -W
-Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-g -O3 -fno-strict-aliasing -Wall -Wextra -Wno-long-long
-Wno-unused-parameter -MT clang_delta-SimplifyStructUnionDecl.o -MD
-MP -MF .deps/clang_delta-SimplifyStructUnionDecl.Tpo -c -o
clang_delta-SimplifyStructUnionDecl.o `test -f
'SimplifyStructUnionDecl.cpp' || echo './'`SimplifyStructUnionDecl.cpp
mv -f .deps/clang_delta-SimplifyStructUnionDecl.Tpo
.deps/clang_delta-SimplifyStructUnionDecl.Po
/usr/local/opt/bin/clang++ -DHAVE_CONFIG_H -I. -I..
-DGIT_VERSION=\"12eaba8\" -I"/usr/local/opt/include/clang"
-I/usr/local/opt/include  -fPIC -fvisibility-inlines-hidden   -Wall -W
-Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-g -O3 -fno-strict-aliasing -Wall -Wextra -Wno-long-long
-Wno-unused-parameter -MT clang_delta-Transformation.o -MD -MP -MF
.deps/clang_delta-Transformation.Tpo -c -o
clang_delta-Transformation.o `test -f 'Transformation.cpp' || echo
'./'`Transformation.cpp
mv -f .deps/clang_delta-Transformation.Tpo .deps/clang_delta-Transformation.Po
/usr/local/opt/bin/clang++ -DHAVE_CONFIG_H -I. -I..
-DGIT_VERSION=\"12eaba8\" -I"/usr/local/opt/include/clang"
-I/usr/local/opt/include  -fPIC -fvisibility-inlines-hidden   -Wall -W
-Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-g -O3 -fno-strict-aliasing -Wall -Wextra -Wno-long-long
-Wno-unused-parameter -MT clang_delta-TransformationManager.o -MD -MP
-MF .deps/clang_delta-TransformationManager.Tpo -c -o
clang_delta-TransformationManager.o `test -f
'TransformationManager.cpp' || echo './'`TransformationManager.cpp
TransformationManager.cpp:96:36: error: too few arguments to function
call, expected at least 2, have 1
    Invocation.setLangDefaults(IK_C);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~     ^
/usr/local/opt/include/clang/Frontend/CompilerInvocation.h:140:3:
note: 'setLangDefaults' declared here
  static void setLangDefaults(LangOptions &Opts, InputKind IK,
  ^
TransformationManager.cpp:102:38: error: too few arguments to function
call, expected at least 2, have 1
    Invocation.setLangDefaults(IK_CXX);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~       ^
/usr/local/opt/include/clang/Frontend/CompilerInvocation.h:140:3:
note: 'setLangDefaults' declared here
  static void setLangDefaults(LangOptions &Opts, InputKind IK,
  ^
2 errors generated.
gmake[2]: *** [clang_delta-TransformationManager.o] Error 1
gmake[2]: Leaving directory `/home/eitan/svn/creduce/clang_delta'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/eitan/svn/creduce'
gmake: *** [all] Error 2

[10043 eitan@radar ~/svn/creduce
!2!]%LD_LIBRARY_PATH=/usr/local/opt/lib /usr/local/opt/bin/clang
--version
                                                 (git-svn)-[master]-
incredible clang version 3.2  (based on LLVM 3.2git-svn-r160101)
Target: x86_64-unknown-freebsd10.0
Thread model: posix

-- 
Eitan Adler

Reply via email to