kno
Starting Member
1 Posts |
Posted - Aug 25 2009 : 04:30:28 AM
|
When I use the (incredibly useful) "add include" feature, VA defaults to backslashes. This is inconvenient as the application I am developing is cross-platform any any compiler other than MSVC does not like backslashes as path separators at all.
If the file already contains includes with slashes, VS recognizes this and uses slashes as well. If there are no such includes in the file, VS uses backslashes. Since forward slashes are what the C++ standard defines and every compiler should accept these, I would suggest to change this behavior so that forward slashes are the default, or, better yet, to expose a setting for this. (Or am I just too stupid to find this setting? I am using build 1727.)
Additional info: This happens when the added include contains a relative path (#include "foo/bar.h") -- dunno whether this happens with angle bracket includes as well. |
|