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

Warnings when compiling in Visual Studio 2012 #11

Closed
charliedurrant opened this issue Dec 6, 2013 · 1 comment
Closed

Warnings when compiling in Visual Studio 2012 #11

charliedurrant opened this issue Dec 6, 2013 · 1 comment

Comments

@charliedurrant
Copy link

Hi,

Firstly thanks for the library, it will help me produce better error messages!

I am very new to C++ in general so I may be doing something very wrong but after adding the header and the code file I get 47 warnings all of the types:

Warning 1 warning C4521: 'fmt::BasicFormatter' : multiple copy constructors specified d:\light bot\code\lightbot\lightbot\3rdparty\format\format.h 1015 1 LightBot
Warning 2 warning C4521: 'fmt::Formatter<>' : multiple copy constructors specified d:\light bot\code\lightbot\lightbot\3rdparty\format\format.h 1138 1 LightBot
Warning 3 warning C4521: 'fmt::BasicFormatter' : multiple copy constructors specified d:\light bot\code\lightbot\lightbot\3rdparty\format\format.h 1015 1 LightBot
Warning 4 warning C4521: 'fmt::Formatter<Action,Char>' : multiple copy constructors specified d:\light bot\code\lightbot\lightbot\3rdparty\format\format.h 1138 1 LightBot

I don't believe I am doing something wrong? Additionally is the library cross platform?

@vitaut
Copy link
Contributor

vitaut commented Dec 6, 2013

Thanks for the bug report, this is fixed now: 39cc99e

Yes, the library is cross-platform and is tested on Linux, Mac OS X and Windows with various compilers (Visual C++, GCC, clang).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants