You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
In Xcode, you can apply compile flags on a per file basis. Its frequently used to integrate older non-ARC code with ARC codebase. I am not sure if gyp supports this.
Activity
DennisOSRM commentedon Dec 2, 2014
IIRC, -Wold-style-cast is supported on clang, too.
8 remaining items
ljbade commentedon Aug 12, 2015
Hmm OK.
It sounds like objective C should be ignored to start with.
ljbade commentedon Aug 12, 2015
Proposal is to get gyp to only apply the
-Wold-stlye-castflag to*.cppfiles.@incanus What about the changes to remove the use of
mallocinMGLMapViewandMGLMapPoint?I replaced it with
std::unique_ptrbut is this too C++y and no ObjCy?ljbade commentedon Aug 12, 2015
OK I restored the branch and will start removing the ObjC changes.
incanus commentedon Aug 12, 2015
Nah, I think this is ok. Anything which results in less manual memory management is 👍 in my book.
ljbade commentedon Aug 13, 2015
@kkaefer Do you know much about how to apply compile flags based on file extension?
mb12 commentedon Aug 13, 2015
In Xcode, you can apply compile flags on a per file basis. Its frequently used to integrate older non-ARC code with ARC codebase. I am not sure if gyp supports this.
http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project
jfirebaugh commentedon Mar 5, 2016
These are pretty much gone.