61
my advice: don't use pcm.
I have several projects using C++23 in CB, even C++26.
Quote
PCM as in Precompiled Modules in C++26 (the upcoming C++ standard)
When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
my advice: don't use pcm.
I have several projects using C++23 in CB, even C++26.
PCM as in Precompiled Modules in C++26 (the upcoming C++ standard)
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?
}