tylrslv
(usa Fedora)
Enviado em 29/12/2018 - 17:35h
Quando tento criar um programa e compilar no codeblocks aparece o seguinte erro com as opções de parar e continuar, caso continue quando somo dois números ele imprime como se estivesse concatenando string ao invés da soma, mesmo com as variáveis sendo do tipo int e na opção parar o programa fecha.
ASSERT INFO:
../src/common/strconv.cpp(3018): assert "Assert failure" failed in wxCSConv(): invalid encoding value in wxCSConv ctor
BACKTRACE:
[1] wxCSConv::wxCSConv(wxFontEncoding)
[2] FileManager::WriteWxStringToFile(wxFile&, wxString const&, wxFontEncoding, bool)
[3] FileManager::Save(wxString const&, wxString const&, wxFontEncoding, bool)
[4] cbEditor::Save()
[5] cbEditor::SaveAs()
[6] cbEditor::Save()
[7] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[8] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[9] wxEvtHandler::TryHereOnly(wxEvent&)
[10] wxEvtHandler::DoTryChain(wxEvent&)
[11] wxEvtHandler::ProcessEvent(wxEvent&)
[12] wxWindowBase::TryAfter(wxEvent&)
[13] wxWindowBase::TryAfter(wxEvent&)
[14] wxWindowBase::TryAfter(wxEvent&)
[15] wxMenuCmd::Exec(wxObject*, wxEvtHandler*)
[16] wxKeyBinder::OnChar(wxKeyEvent&, wxEvtHandler*)
[17] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[18] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[19] wxEvtHandler::TryHereOnly(wxEvent&)
[20] wxEvtHandler::ProcessEventLocally(wxEvent&)
[21] wxEvtHandler::ProcessEvent(wxEvent&)
[22] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[23] g_closure_invoke
[24] g_signal_emit_valist
[25] g_signal_emit
[26] gtk_window_propagate_key_event
[27] g_closure_invoke
[28] g_signal_emit_valist
[29] g_signal_emit
[30] gtk_propagate_event
[31] gtk_main_do_event
[32] g_main_context_dispatch
[33] g_main_loop_run
[34] gtk_main
[35] wxGUIEventLoop::DoRun()
[36] wxEventLoopBase::Run()
[37] wxAppConsoleBase::MainLoop()
[38] wxEntry(int&, wchar_t**)
[39] __libc_start_main