1
General (but related to Code::Blocks) / Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
« Last post by Miguel Gimenez on Today at 09:05:57 am »Delayed profile spammer predictbong reported to moderator.
Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
I can find no code that saves the files ok and then closes them.
Go to Settings -> Compiler, select the "Toolchain executables" tab and fill the controls with your compiler's location (use where gcc.exe in the cmd prompt) and program's names.
if (!cbSaveToFile(m_Filename, m_pControl->GetText(), GetEncoding(), GetUseBom(), robustSave))
{
wxString msg;
msg.Printf(_("File %s could not be saved..."), GetFilename().c_str());
cbMessageBox(msg, _("Error saving file"), wxICON_ERROR);
return false; // failed; file is read-only?
}