jfelixap Posted March 18, 2015 at 01:01 AM Report Share #579674 Posted March 18, 2015 at 01:01 AM (edited) Boa noite. A função to_string (c++ 11) não é reconhecida pelo meu compilador (MinGW). Será que não o tenho atualizado ou é mesmo assim? P.S: Trabalho com o IDE Netbeans 8.0.2 Cumprimentos Edited March 18, 2015 at 01:01 AM by jfelixap Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted March 18, 2015 at 06:57 AM Report Share #579679 Posted March 18, 2015 at 06:57 AM actualiza a o teu mingw, isso era um bug que já foi corrigido IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
jfelixap Posted March 18, 2015 at 12:29 PM Author Report Share #579713 Posted March 18, 2015 at 12:29 PM Bom dia. Obrigado. Link to comment Share on other sites More sharing options...
jfelixap Posted March 18, 2015 at 07:40 PM Author Report Share #579761 Posted March 18, 2015 at 07:40 PM Boa tarde. Instalei de novo o minGW e continua com o mesmo problema. No netbeans quando altero nas propriedades do projeto o c++ compiler (c++ standard) para c++ 11 dá erro ao compilar. Não sei como fazer para poder usar to_string? Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted March 18, 2015 at 09:39 PM Report Share #579777 Posted March 18, 2015 at 09:39 PM Qual o erro que te e apresentado IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
jfelixap Posted March 18, 2015 at 11:03 PM Author Report Share #579785 Posted March 18, 2015 at 11:03 PM Boa noite. Quando mudo c++ compiler para c++ 11, dá o seguinte erro (mesmo em projetos que em standar não dá erro): cc1plus.exe: error: unrecognized command line option "-std=c++11" Quando deixo c++ compiler em default, dá o seguinte: main.cpp:143: error: `to_string' was not declared in this scope Cumprimentos Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted March 19, 2015 at 01:21 AM Report Share #579800 Posted March 19, 2015 at 01:21 AM a flag é "--std=c++11" com dois '-' IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
jfelixap Posted March 19, 2015 at 11:26 AM Author Report Share #579812 Posted March 19, 2015 at 11:26 AM Bom dia. Eu não alterei nada! É um erro do Netbeans!? Onde posso alterar? Cumprimentos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now