https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69844
Bug ID: 69844 Summary: Possibly bogus error: unknown type name in ObjC code Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- Created attachment 37708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37708&action=edit XAD7ZipParser.mi $ gcc -std=gnu99 -O2 -Wno-import -Wno-multichar -g -D_FILE_OFFSET_BITS=64 -isystem /usr/include/GNUstep -DGNUSTEP -DGNU_RUNTIME=1 -D_NATIVE_OBJC_EXCEPTIONS -fgnu-runtime -fexceptions -fobjc-exceptions -fconstant-string-class=NSConstantString -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -MMD -MFBuild/XAD7ZipParser.d -MTBuild/XAD7ZipParser.o -c XAD7ZipParser.m -o Build/XAD7ZipParser.o XAD7ZipParser.m: In function '-[XAD7ZipParser parseWithSeparateMacForks]': XAD7ZipParser.m:147:2: error: unknown type name 'NSDictionary' NSDictionary *additionalstreams=nil; ^~~~~~~~~~~~ XAD7ZipParser.m:147:2: note: use 'struct' keyword to refer to the type Started with r230322 - mine :(. .mi file attached.