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
 STL headers not parsed?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Johann
New Member

4 Posts

Posted - Sep 06 2004 :  01:42:02 AM  Show Profile
Hi,

I'm trying out VAX now. How do I setup things so that the STL headers get parsed correctly in VAX? The intellisense for all std:: stuff is corrupted. For example, if I make a

std::vector<int> v;

then the intellisense when I later type "v." will give me

_Ctptr
_Tptr
const_iterator
const_reference
iterator
reference
VAListIterator
value_type


Not at all what I expected!

The the STL header filenames ahve no extension. How to do then when defining C++ extensions in VAX? I'm stymied.

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Sep 06 2004 :  2:36:42 PM  Show Profile
this example works correctly for me, using .NET 2003 and VAX 1258, a beta build.

what settings do you have in VAX options -> Projects -> C/C++ Directories

if you are using .NET 2003 the first item in the list should be:
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\include;

unless you have been playing with these settings. this is where the vector header file lives on my machine.

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

Johann
New Member

4 Posts

Posted - Sep 06 2004 :  4:05:28 PM  Show Profile
quote:
Originally posted by feline

this example works correctly for me, using .NET 2003 and VAX 1258, a beta build.

what settings do you have in VAX options -> Projects -> C/C++ Directories

if you are using .NET 2003 the first item in the list should be:
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\include;

unless you have been playing with these settings. this is where the vector header file lives on my machine.



I use the STL by P. J. Plauger for Platform Builder, Windows CE .NET 4.2. They reside in C:\\WINCE420\\Public\\COMMON\\SDK\\INC. The vector header/source file is named simply "vector" - how does VA know that it should be parsed when it has no extension?

"vector" contains the following highest up in public:

_STD_BEGIN
// TEMPLATE CLASS vector
template<class _Ty, class _A = allocator<_Ty> >
class vector {
public:
typedef vector<_Ty, _A> _Myt;
typedef _A allocator_type;
typedef _A::size_type size_type;
typedef _A::difference_type difference_type;
typedef _A::pointer _Tptr;
typedef _A::const_pointer _Ctptr;
typedef _A::reference reference;
typedef _A::const_reference const_reference;
typedef _A::value_type value_type;
typedef _Tptr iterator;
typedef _Ctptr const_iterator;
typedef reverse_iterator<const_iterator, value_type,
const_reference, _Ctptr, difference_type>
const_reverse_iterator;
typedef reverse_iterator<iterator, value_type,
reference, _Tptr, difference_type>
reverse_iterator;


which is almost what is shown by the VA intellisense. No methods or other stuff is shown.

When VA rebuilds its symbol database, I see that directories are examined in the status bar corresponding to my settings, but the extension-less STL files doesn't seem to be parsed.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Sep 07 2004 :  6:38:52 PM  Show Profile
any chance i could download this .h in isolation, to try and confirm?

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

Johann
New Member

4 Posts

Posted - Sep 08 2004 :  02:15:16 AM  Show Profile
quote:
Originally posted by feline

any chance i could download this .h in isolation, to try and confirm?



Well, it concerns all STL, not just vector. And I don't think I can redistribute the file, but a Windows CE 5 evaluation can be downloaded from http://www.microsoft.com/embedded.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000