Xcode: False warning when using XCTFail

Originator:thedov
Number:rdar://22133126 Date Originated:04-Aug-2015 11:34 AM
Status:Closed Resolved:Duplicate of 21788029
Product:Developer Tools Product Version:Xcode-beta (7A165t)
Classification:Other Bug Reproducible:Always
 
Summary:
When building my project, I get an erroneous compiler warning on a line calling XCTFail(), even after cleaning the build folder

Steps to Reproduce:
1. Build attached project’s tests

Expected Results:
No warnings from the unit test bundle

Actual Results:
Line 211 of ExtractFilesTests.m produces a warning “ExtractFilesTests.m:213:52: Must specify at least one argument for '...' parameter of variadic macro”, even though the line provides three arguments to the macro

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!