Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 "Add include" inserts Backslashes

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
dweber Posted - Aug 08 2013 : 07:52:48 AM
Hi,

I'm using VA in different visual studio projects. In one project "Add include" inserts backslashes to separate the header file from the path. In other projects slashes are inserted. I'm not able reproduce under which conditions backslashes are inserted.

As our software is also supposed to compile with linux the usage of backslashes in include paths is simply a no-go.

I'm not sure if backslashes are allowed with C++,but it seems to be common sense that it' not (see e.g.
http://stackoverflow.com/questions/5790161/is-the-backslash-acceptable-in-c-and-c-include-directives ).

Is there a reason, why backslashes are inserted by VA, or is it a bug?

Thank you!
Daniel
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 09 2013 : 12:37:37 PM
Thank you for the update, I am glad this has fixed your problems
dweber Posted - Aug 09 2013 : 02:11:54 AM
That helps a lot! Thanks!
feline Posted - Aug 08 2013 : 09:55:24 AM
VA uses the separator already used in the current file, it will also look for and respect the IDE setting on which separator to use. This FAQ entry explains how to tell VA to always use slash or back slash as the separator:

http://docs.wholetomato.com?W337

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000