-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 errors VC2010 , QT4.8 #2
Comments
Not quite sure what errors you are getting - but you can just do what the article says and put
after your |
Thank you it worked, but have some warnings now.
|
As the warning says
Both of the above solutions achieve the same goal. |
Fixed the compilation issue when windows.h is included in 6da2c53 I'll think what to do with the warnings, for now you can disable them as suggested by justnom. Thanks. |
Fixed warnings by using checked iterators when _SECURE_SCL is set. Closing the issue. |
Take #2 of n Signed-off-by: Daniela Engert <[email protected]>
Take #2 of n Signed-off-by: Daniela Engert <[email protected]>
Take #2 of n Signed-off-by: Daniela Engert <[email protected]>
Take #2 of n Signed-off-by: Daniela Engert <[email protected]>
Take #2 of n Signed-off-by: Daniela Engert <[email protected]>
Take #2 of n Signed-off-by: Daniela Engert <[email protected]>
Take #2 of n Signed-off-by: Daniela Engert <[email protected]>
Support out-of-source builds
Not sure what is causing this error or what compilerbut a similar problem is described here:
http://heifner.blogspot.co.uk/2008/02/stdmin-and-stdmax.html.
I have manage to get it to compile by:
using namespace std;
and changing std::max to max on line 106 and 662 of format.h.
Here's the original compile error. there are also warnings shown with this fix.
M:\mmgit\mmcyb\inc\format.h(106): error C2589: '(' : illegal token on right side of '::'
1> M:\mmgit\mmcyb\inc\format.h(105) : while compiling class template member function 'void fmt::internal::Array<T,SIZE>::Grow(size_t)'
1> with
1> [
1> T=char,
1> SIZE=500
1> ]
1> M:\mmgit\mmcyb\inc\format.h(425) : see reference to class template instantiation 'fmt::internal::Array<T,SIZE>' being compiled
1> with
1> [
1> T=char,
1> SIZE=500
1> ]
1> M:\mmgit\mmcyb\inc\format.h(872) : see reference to class template instantiation 'fmt::BasicWriter' being compiled
1> with
1> [
1> Char=char
1> ]
1> M:\mmgit\mmcyb\inc\format.h(1128) : see reference to class template instantiation 'fmt::BasicFormatter' being compiled
1> with
1> [
1> Char=char
1> ]
1>M:\mmgit\mmcyb\inc\format.h(106): error C2059: syntax error : '::'
1>M:\mmgit\mmcyb\inc\format.h(106): error C2589: '(' : illegal token on right side of '::'
1> M:\mmgit\mmcyb\inc\format.h(105) : while compiling class template member function 'void fmt::internal::Array<T,SIZE>::Grow(size_t)'
1> with
1> [
1> T=const fmt::BasicFormatter::Arg *,
1> SIZE=10
1> ]
1> M:\mmgit\mmcyb\inc\format.h(979) : see reference to class template instantiation 'fmt::internal::Array<T,SIZE>' being compiled
1> with
1> [
1> T=const fmt::BasicFormatter::Arg *,
1> SIZE=10
1> ]
1>M:\mmgit\mmcyb\inc\format.h(106): error C2059: syntax error : '::'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.98
The text was updated successfully, but these errors were encountered: