![]() Even with the -Weverything flag, the warning still does not show. However, I don't see any warning at all, despite passing the -Wgnu flag. I expected to see the warning, "expression is not an integer constant expression folding it to a constant is a GNU extension". ![]() ![]() The -Wgnu flag enables warnings when any of these GNU features are used, including the one being used here: constant folding (-Wgnu-folding-constant). Using foo in the switch case is illegal because it isn't a constant expression, but gcc has a feature so that it is. An early response is much appreciated.Ĭlang apparently adds some default flags to every run, and sometimes these take precedence over user-specified flags.įor example, I compiled the following program with clang -Wgnu main.c: Please help I can not use Xcode 13 now, since apple has stopped taking builds from Xcode 13. IDEArchivePathOverride = /Users/administrator/.jenkins/jobs/iOS Bruff dev/workspace/BroughSuperior/administrator/testing-app5_ios_-10:10:33/enterprise/testing-app5.xcarchive ` /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace BroughSuperior.xcworkspace -scheme BroughSuperior -configuration Release -destination generic/platform=iOS -archivePath "administrator/testing-app5_ios_-10:10:33/enterprise/testing-app5.xcarchive" clean archive Xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -configuration "$CONFIGURATION" -destination 'generic/platform=iOS' -archivePath "$ARCHIEVE_PATH" clean archive ||Īnd I am getting following on the Jenkins console (xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -configuration "$CONFIGURATION" -destination 'generic/platform=iOS' -archivePath "$ARCHIEVE_PATH" clean archive 1> /dev/null || ![]() I am facing a issue while generating build using command line script in Xcode 14, the same script is working with Xcode 13.ĪRCHIEVE_PATH="$BUILD_DIR/$.xcarchive" ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |