[aspectc-user] Does aspectc++ 0.7 fully support gcc 2.96 STL ?
    Herry Leonard 
    herryleo at singnet.com.sg
       
    Fri Jul  4 09:12:42 CEST 2003
    
    
  
Hi,
I have another query.
When I am trying to use STL object inside a function:
// ----------------------------------
#include <string>
void MyFunction()
{
    string myStr = "hello";  // parsing is ok
    vector <int> myVec;    // parsing is ok
    std::string myStr2 = "hello2";   // parsing is NOT ok
    std::vector<int> myVec2; 	   // parsing is NOT ok
}
// ------------------------------------
The error during ac++ parsing/compilation when I use std::string and std::vector is:
* Running ac++ 0.7
* Simple Dependency Check
* Handling Translation Unit 'main.cpp'
./main.cpp:31: error: invalid statement near token `myStr2'
./main.cpp:32: error: invalid statement near token `>'
Does it mean current aspectc++ 0.7 not yet fully-support STL?
Thanks.
Regards,
Herry Leonard
    
    
More information about the aspectc-user
mailing list