c++ - How do I fix xcode lexical or preprocessor issue, array file not found in xcode 6.3? -


i solved problem in xcode 6.2 following advice in previous, similar postings. has re-appeared in xcode 6.3 , not corrected.

i have mixed, objective-c , c++ project files contain c++ code named *.mm , project settings @ default. if load in small set of c++ files , call c++ functor view controller of canned single-page ios application in new project created isolate problem, compiles successfully. then, when try add folder containing written (and compiled) mixed code, following error appears.

lexical or preprocessor issue, 'array' file not found

i tried combinations 'c language dialect' , 'c++ language dialect' c11 | gnu11 , c++c11 | gnu++11 | c++c14 in build settings , error remained.

removing reference group of addition files gets compilation succeed again , if build setting point gnu11 or c11.

how addition or removal of files (that compiled under xcode 6.2) have compiler finding or not finding standard template header file?

by adding files incrementally, isolated problem regular objective-c file (myfilename.m) had errant include of c++ header file had named 'vertex.h'. refactored c++ header files have hpp extension (see entry '*.h or *.hpp class definitions') finding mistakes in future matter of straightforward unix shell script.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -