user2832424
user2832424

Reputation: 43

error C2661: 'CObject::operator new' : no overloaded function takes 4 arguments visual studio related

This isn't about C++ but my issue is about visual studio 2013. I get this error in all of my .cpp files when i'm trying to compile. I have not made any changes to my code and i have done the following steps to remedy the issue to no avail

1)Delete my code base and check out a clean version

2) Reinstall visual studio 2013 ultimate with update 5

3)Reset my visual studio settings and imported my colleagues settings

4)Code revision history doesn't show any modifications to definition of macro new

Funny thing is all my colleagues are able to compile and I'm able to compile in release mode . This issue exists only in debug mode. I'm hoping someone has encountered this before and has a solution for this.

Upvotes: 0

Views: 274

Answers (1)

user2832424
user2832424

Reputation: 43

I Compiled a different branch to see if it works and it compiled. Then i compiled the branch which was causing the error and it was fixed. Have no clue why the issue was being caused in the first place.

Upvotes: 1

Related Questions