Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 "Add include" inserts Backslashes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dweber
New Member

2 Posts

Posted - Aug 08 2013 :  07:52:48 AM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 08 2013 :  09:55:24 AM  Show Profile  Reply with Quote
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

zen is the art of being at one with the two'ness
Go to Top of Page

dweber
New Member

2 Posts

Posted - Aug 09 2013 :  02:11:54 AM  Show Profile  Reply with Quote
That helps a lot! Thanks!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 09 2013 :  12:37:37 PM  Show Profile  Reply with Quote
Thank you for the update, I am glad this has fixed your problems

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000