RegardsCodelibtool: compile: clang++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../../src/sdk -I../../src/include -I/Users/xavier/dev/wx316/build-macOS-11.6/lib/wx/include/osx_cocoa-unicode-3.1 -I/Users/xavier/dev/wx316/include -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I../../../src/include/scripting/include -I../../../src/include -I../../../src/sdk/wxscintilla/include -I../../../src/sdk/mozilla_chardet/include -I../../../src/sdk/mozilla_chardet/include/mfbt -I../../../src/sdk/mozilla_chardet/include/nsprpub/pr/include -I../../../src/sdk/mozilla_chardet/include/xpcom -I../../../src/sdk/mozilla_chardet/include/xpcom/base -I../../../src/sdk/mozilla_chardet/include/xpcom/glue -DCB_AUTOCONF -DPIC -I../../../src/include/tinyxml -DTIXML_USE_STL=YES -mmacosx-version-min=11.6 -fPIC -fexceptions -MT projectloader_hooks.lo -MD -MP -MF .deps/projectloader_hooks.Tpo -c ../../../src/sdk/projectloader_hooks.cpp -fno-common -DPIC -o .libs/projectloader_hooks.o
../../../src/sdk/projectloader.cpp:1302:119: error: cannot pass object of non-trivial type 'wxString' through variadic
function; call will abort at runtime [-Wnon-pod-varargs]
...not find project glob with id %s for file %s"), id, file->GetBaseName().wx_str()));
^
Manager::Get()->GetLogManager()->DebugLog(F(_T("Could not find project glob with id %s for file %s"), id, file->GetBaseName().wx_str()));
Manager::Get()->GetLogManager()->DebugLog(F(_T("Could not find project glob with id %s for file %s"), id.wx_str(), file->GetBaseName().wx_str()));
Manager::Get()->GetLogManager()->DebugLog(wxString::Format("Could not find project glob with id %s for file %s", id, file->GetBaseName()));
- <UnitsGlob directory="../export/" recursive="1" wildcard="" />
- <UnitsGlob directory="../local/" recursive="1" wildcard="" />
+ <UnitsGlob directory="../export/" wildcard="" recursive="1" id="769713912" />
+ <UnitsGlob directory="../local/" wildcard="" recursive="1" id="3282429397" />
+ <Unit filename="../export/RepeatingTask/RepeatingTaskFactory.h">
+ <Option glob="769713912" />
+ </Unit>
+ <Unit filename="../export/RepeatingTask/RepeatingTaskIf.h">
+ <Option glob="769713912" />
+ </Unit>
+ <Unit filename="../local/RepeatingTask.cpp">
+ <Option glob="-1012537899" />
+ </Unit>
+ <Unit filename="../local/RepeatingTask.h">
+ <Option glob="-1012537899" />
+ </Unit>
+ <Unit filename="../local/RepeatingTaskFactory.cpp">
+ <O
Fixed in trunk, thank you!Rev 13209 build fine : thank you
My point of view is, that the project file is like a make file. You have to modify a makefile if you add source files to be able to build it.
If you do not add them to the project we have some problems:
1) you can not modify properties of them: Only build with certain build targets ecc.
2) I had other problems with the old implementation, i can not remember any more exactly (it is a 3 years), i think code completion did not work correctly...
We have discussed this with the problems of the original implementation here: http://forums.codeblocks.org/index.php/topic,22783.msg154862/topicseen.html
My opinion on this: This feature was never/seldom used by user before, because it had no ui/documentation. So the risk of breaking some project files is minimal. I also pointed this out in the announcement post (https://forums.codeblocks.org/index.php/topic,25276.0.html). Now it has UI and documentation and we can expect it to be used... I for example need it for an upcoming plugin i currently am working on...
If you are absolutely against this implementation i can try to look into it and add some flag for old and new behavior?
I will look into the problems with the ids. Thank you for testing and pointing it out.
if (pf->IsGlobValid())
{
menu.AppendSeparator();
menu.Append(idMenuRemoveFilePopup, _("Remove file from project"));
menu.Enable(idMenuRemoveFilePopup, PopUpMenuOption);
}
Dear All,I also experienced this. But with add files. It only added the first file.
Am I wrong or now it is impossible to remove a source (or header) file from a Project. The right-click menu is no longer offering the menu item to remove a file.
I see the "Remove Files" in the Project menu but deleting multiple files (I selected several files but the removing dialog is offering the possibility to remove the first file in the selection only) is very
uncomfortable....just a right click on the filename was more comfortable.
Thx
]
I also experienced this. But with add files. It only added the first file.
Am I wrong or now it is impossible to remove a source (or header) file from a Project. The right-click menu is no longer offering the menu item to remove a file.fixed in trunk
Looks like this code from [r13191] (Add UI for automatic source folders aka project globs) prevents it from appearing:yes.. there should be a '!' infront fixed in trunk...
I also experienced this. But with add files. It only added the first file.i can not reproduce it. Can you give more details?
Hi,
Uing this latest nigthly (but the issue was present in previous nigthly too) I observed the followin issue:
1) I create a new compiler setup (UCRT64) simply copying the MINGW64 and changin the paths
2) I selected the new UCRT64 as default
3) I restarted CB
4) now the clangd pluging is disabled. I re-enabled the clangd pluging and restared CB
5) Now the clangd plugin is not available even if the plugin is enabled
May be this is a bug. I don't know whether the clangd is expected to work with "official" compiler setups only, in case please add UCRT64 because Msys2 is now considering ucrt variant as the default environment.
Hope this helps
To MaxGaspa and Pecan:
My guess is clangd executable is not set to a valid value.
Edit: After I installed mingw-w64-ucrt-x86_64-clang-tools-extra I was able to set clangd executable to a valid value.
I did not try testing the plugin I just enable and configured the plugin.
Tim S.
pacman -S --needed mingw-w64-ucrt-x86_64-clang-tools-extra
What are the steps to make UCRT64 a compiler.
I suspect clangd_client is not finding a master path for this compiler you setup and disables itself.
My guess is clangd executable is not set to a valid value.
Just curious, where can I download the latest clangd plugin? The sf.net (https://sourceforge.net/projects/cb-clangd-client/files/Plugin_Install_Package/Windows_x64/) build stays at Oct last year.Clangd_client plugin has already been added to the CodeBlocks build system as a contrib plugin.
Just curious, where can I download the latest clangd plugin? The sf.net (https://sourceforge.net/projects/cb-clangd-client/files/Plugin_Install_Package/Windows_x64/) build stays at Oct last year.Clangd_client plugin has already been added to the CodeBlocks build system as a contrib plugin.
It's included in each "Nightly Build" which can be downloaded via this forum. See https://forums.codeblocks.org/index.php/board,20.0.html
(namely the first post in this forum thread).
Clangd_client plugin needs a clangd server process to load. Directions for providing clangd (linux) or clangd.exe(windows) is in the CodeBlocks wiki at https://wiki.codeblocks.org/index.php/CB_Clangd_Client
You can ignore the info in the wiki about building the plugin.
It's already included in the Nightly builds.
Thanks for the direction.
I have a small problem with clangd. The tooltip most of time is too narrow, see the attached picture.Just curious, where can I download the latest clangd plugin? The sf.net (https://sourceforge.net/projects/cb-clangd-client/files/Plugin_Install_Package/Windows_x64/) build stays at Oct last year.Clangd_client plugin has already been added to the CodeBlocks build system as a contrib plugin.
It's included in each "Nightly Build" which can be downloaded via this forum. See https://forums.codeblocks.org/index.php/board,20.0.html
(namely the first post in this forum thread).
Clangd_client plugin needs a clangd server process to load. Directions for providing clangd (linux) or clangd.exe(windows) is in the CodeBlocks wiki at https://wiki.codeblocks.org/index.php/CB_Clangd_Client
You can ignore the info in the wiki about building the plugin.
It's already included in the Nightly builds.
Thanks for the direction.
I have a small problem with clangd. The tooltip most of time is too narrow, see the attached picture.Just curious, where can I download the latest clangd plugin? The sf.net (https://sourceforge.net/projects/cb-clangd-client/files/Plugin_Install_Package/Windows_x64/) build stays at Oct last year.Clangd_client plugin has already been added to the CodeBlocks build system as a contrib plugin.
It's included in each "Nightly Build" which can be downloaded via this forum. See https://forums.codeblocks.org/index.php/board,20.0.html
(namely the first post in this forum thread).
Clangd_client plugin needs a clangd server process to load. Directions for providing clangd (linux) or clangd.exe(windows) is in the CodeBlocks wiki at https://wiki.codeblocks.org/index.php/CB_Clangd_Client
You can ignore the info in the wiki about building the plugin.
It's already included in the Nightly builds.
Thanks for the report.
What OS are you running on?
The plugin has no control of the width of the tooltip. It's caused by the core plugin manager.
I'll put it on the "ToDo" list of problems to investigate.
But I won't be able to attend to it until after April (tax season is hear).