error C2661: 'operator new' : no overloaded function takes 3 arguments

29 Apr
2010
29 Apr
'10
8:13 p.m.
Hi, I have a simple pattern matching console based program something like below: #include void example() { ... boost::regex pattern("[a-zA-Z]"); if (boost::regex_match(line, pattern)){...} ... } While compiling this program in VS2008, I get following error: error C2661: 'operator new' : no overloaded function takes 3 arguments ..\boost_1_35_0\boost\regex\v4\regex_raw_buffer.hpp(177) error C2059: syntax error : '*' ..\boost_1_35_0\boost\regex\v4 \perl_matcher_non_recursive.hpp 99 Need your help to fix this. Thanks

30 Apr
30 Apr
8:03 p.m.
New subject: error C2661: 'operator new' : no overloaded function takes 3 arguments
Do you have a macro called 'new' defined somewhere? (for example, MFC used to do things like #define new DEBUG_NEW).
5412
Age (days ago)
5413
Last active (days ago)
1 comments
2 participants
participants (2)
-
bidhan chandra gupta
-
Richard Webb