Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 unrecognized header include

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
Michal Puczynski Posted - Sep 22 2011 : 04:59:51 AM
Hi,

When you have a header with:

> head1.h
#define MYINCLUDE "myinclude.h"
< head1.h

and a source:
> source.cpp
#include "head1.h"
#include MYINCLUDE
...

VA is not giving suggestions from the include and is not recognizing any written code using definitions in "myinclude.h"
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Sep 22 2011 : 12:03:23 PM
It seems that VA is having a hard time interpreting your include directive because of the macro.
- Is myinclude.h added to a project in your current solution file? Doing so should help.
- Alternatively, ticking "if Solution is not empty" checkbox in VA Options -> Projects -> File Handling should also help a little bit. It makes VA parse myinclude.h when you open a file from the directory where myinclude.h resides. So if myinclude.h and the file which includes it are in the same directory, this can be a solution or workaround.

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