D15764: [Custom-DefinesAndIncludes]: Objective-C++ support
noreply at phabricator.kde.org
Wed Sep 26 17:16:01 BST 2018
aaronpuchert added inline comments.
> rjvbb wrote in gcclikecompiler.cpp:69
> Why do you ask, it's getting `-std=c++11` here (if no -std flag was given yet)?
Now that we pass in the language type, maybe we should handle all cases. So for `C` and `ObjC` we don't want to return an empty string, but (say) `-std=c99`. Maybe we can make this match the default arguments in plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp.
> rjvbb wrote in settingsmanager.cpp:74-75
> From what I've seen there are basically as many ObjC(++) standards as there are C(++) standards.
> There are a few ObjC-specific compiler options (which are illegal for C/C++), for instance concerning ObjC exceptions. I'm not certain they change anything for the parser though (esp. not the parser in its current form).
> So I'm tempted to say that for now we could and should simply use the C/C++ options for ObjC/ObjC++ and re-evaluate if and when the need for specific options arises.
Ok, I think that's fine for now.
To: rjvbb, #kdevelop
Cc: aaronpuchert, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel