Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling error #4

Closed
devtoty opened this issue Jul 18, 2013 · 3 comments
Closed

Compiling error #4

devtoty opened this issue Jul 18, 2013 · 3 comments
Labels

Comments

@devtoty
Copy link

devtoty commented Jul 18, 2013

In function void Container::onAddContainerItem(Item* item)
error with two arguments related

@kornholi
Copy link
Member

Compiles fine on both linux and windows for me. Could you post a full log?

@devtoty
Copy link
Author

devtoty commented Jul 18, 2013

1> otpch.cpp
1> actions.cpp
1> admin.cpp
1> ban.cpp
1> baseevents.cpp
1> beds.cpp
1> chat.cpp
1> combat.cpp
1> commands.cpp
1> condition.cpp
1> configmanager.cpp
1> connection.cpp
1> container.cpp
1>..\container.cpp(249): error C2511: 'void Container::onAddContainerItem(Item *)' : overloaded member function not found in 'Container'
1> d:\otserv\forgotten server\container.h(57) : see declaration of 'Container'
1>..\container.cpp(543): error C2660: 'Container::onAddContainerItem' : function does not take 1 arguments
1>..\container.cpp(561): error C2660: 'Container::onAddContainerItem' : function does not take 1 arguments
1> creature.cpp
1> creatureevent.cpp
1> cylinder.cpp
1> database.cpp
1> databasemanager.cpp
1> databasemysql.cpp
1> databasesqlite.cpp
1> depotchest.cpp
1> depotlocker.cpp
1> exception.cpp
1> fileloader.cpp
1> game.cpp
1> globalevent.cpp
1> guild.cpp
1> house.cpp
1> housetile.cpp
1> inbox.cpp
1> ioguild.cpp
1> iologindata.cpp
1> iomap.cpp
1> iomapserialize.cpp
1> iomarket.cpp
1> item.cpp
1> items.cpp
1> logger.cpp
1> luascript.cpp
1> mailbox.cpp

PS I'm compiling with msvc10

@marksamman
Copy link
Member

Line 549 in container.cpp is an empty line, and there is no error in that function.

@nclx nclx mentioned this issue Aug 7, 2013
This was referenced Dec 5, 2015
This was referenced Dec 28, 2015
@Donkey-Robot Donkey-Robot mentioned this issue Jan 5, 2016
@walissonsantos walissonsantos mentioned this issue May 19, 2016
@Donkey-Robot Donkey-Robot mentioned this issue Jul 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants