xcalcc / labrador Goto Github PK
View Code? Open in Web Editor NEWC/C++ standard compliance analyzer
License: Other
C/C++ standard compliance analyzer
License: Other
The standard compile command that was provided in the readme attempts to use the built in OS X version of clangd, which fails:
[44/44] Linking CXX executable xsca
FAILED: xsca
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fno-exceptions -fno-rtti -pthread -no-pie -O0 -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/xsca.dir/cc1_main.cpp.o CMakeFiles/xsca.dir/driver.cpp.o CMakeFiles/xsca.dir/xsca_gen.cpp.o CMakeFiles/xsca.dir/xsca_link.cpp.o -o xsca -L/Users/tenkai/Development/language_servers/clang-prebuilt/release/lib -Wl,-rpath,/Users/tenkai/Development/language_servers/clang-prebuilt/release/lib core/libxscaCore.a rules/libxscaRule.a -Wl,--start-group -lclangAnalysis -lclangAST -lclangBasic -lclangDriver -lclangEdit -lclangFrontend -lclangFrontendTool -lclangLex -lclangParse -lclangRewrite -lclangRewriteFrontend -lclangSema -lclangSerialization -lclangTooling -lLLVMBinaryFormat -lLLVMBitReader -lLLVMBitstreamReader -lLLVMCore -lLLVMDemangle -lLLVMFrontendOpenMP -lLLVMMC -lLLVMMCParser -lLLVMOption -lLLVMProfileData -lLLVMRemarks -lLLVMSupport -Wl,--end-group -lm -ldl -lrt -lpthread rules/GJB5369/libxscaGJB5369Rule.a rules/GJB8114/libxscaGJB8114Rule.a rules/MISRA/libxscaMISRARule.a rules/CERT/libxscaCERTRule.a rules/AUTOSAR/libxscaAUTOSARRule.a rules/libxscaRule.a rules/GJB5369/libxscaGJB5369Rule.a rules/GJB8114/libxscaGJB8114Rule.a rules/MISRA/libxscaMISRARule.a rules/CERT/libxscaCERTRule.a rules/AUTOSAR/libxscaAUTOSARRule.a core/libxscaCore.a && :
clang: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument]
ld: unknown options: --start-group --end-group
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
In order to use the homebrew installed version, I had to use the following command:
fsh ❯ cmake -G Ninja -DCMAKE_C_COMPILER=/opt/homebrew/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++ ../src
And then it compiled properly
The .I file is attached.
test_librws_creation.c.i.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.