News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Patch for Windows wx28 cbp files needed for PCH version of sdk.h to be used.

Started by stahta01, February 01, 2014, 01:10:41 AM

Previous topic - Next topic

stahta01

I am working on a patch to add the proper sdk.h PCH search folder to CB projects using wxWidgets 28 under Windows.

I am only doing some of the CB Contrib Projects and 4 or 5 other CB Projects.

Criteria of Project selection uses sdk.h in a source file include (source file means non-header file in this message thread).

Is easy to test that the PCH file is being used.

Skipped "SmartIndent" project because of complexity to test.
Skipped "wxSmith" projects because I thought the gain was likely not worth trying at this time.
Skipped "FortranProject" project because of weird error at this time; will need to figure out cause or good work around.

Patch available at https://github.com/stahta01/codeblocks/tree/PCH/Patches
This patch is called "cb_cbp_wx28_add_objs_include_search.patch"

Still testing this patch for build issues.
No build issues noticed; the CodeCompletion Project still needs better testing and it has a PCH warning now.
The  "BrowseTracker" Plugin now also has a PCH warning where the incorrect header "sdk_precomp.h" is used instead of the correct "sdk.h".

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]