reactos/sdk/tools
Joachim Henze b386549fb4 [0.4.14][SPEC2DEF] Mute "Exported symbol should be private"-warnings on GCC CORE-16380 temporarily
This is a temporary workaround to suppress the last remaining 4 compile-time-warnings for GCC4.7.2 dbg-cfg:
WARNING: /reactos/dll/win32/rsaenh/rsaenh.spec line 26: Exported symbol 'DllRegisterServer' should be PRIVATE
WARNING: /reactos/dll/win32/rsaenh/rsaenh.spec line 27: Exported symbol 'DllUnregisterServer' should be PRIVATE
WARNING: /reactos/dll/win32/msxml3/msxml3.spec line 10: Exported symbol 'DllGetClassObject' should be PRIVATE
WARNING: /reactos/dll/win32/ole32/ole32.spec line 137: Exported symbol 'DllGetClassObject' should be PRIVATE

The new checks were explicitly and intentionally enabled (actually by good intentions!) by:
0.4.13-dev-720-g 2becb000c8

So the muting is no proper fix. But since CORE-16380 is now unfixed for 3.5years (although there were various attempts),
I lost the hope that we will see a proper fix anytime soon.
It is more important to me to reach the "0 warnings at compile time" for the primary toolchain GCC4.7.2 dbg
for releases/0.4.13 and releases/0.4.14 than seeing these currently unaddressable warnings.
And with this commit I will reach that.
Afterwards all releases/0.4.7 to releases/0.4.14 do have 0 compile-time-warnings for their primary toolchain
GCC4.7.2 dbg-cfg RosBEWin2.1.6 and
GCC4.7.2 dbg-cfg RosBELin2.1.2 on Carrier-Releaser.
I intend to defend that state with *claws and teeth*! It took me long to get there!

When needed the checks can still be performed on all releases/0.4.7 till releases/0.4.14 on demand
by building with MSVC2010, which does these checks out-of-the-box without any additional code on our side
and it generates the same warnings for those very same modules then.

Once we will have a proper fix on master, I will reenable the check and port back the final thing.
Master-branch will not receive this workaround and will continue to warn even for GCC.

I verified my workaround to compile successfully with:
RosBEWin 2.1.6 GCC4.7.2 dbg-cfg (tested upfront)
RosBEWin 2.1.6 GCC4.7.2 rls-cfg (tested upfront)
RosBEWin 2.2.2 GCC8.4.0 dbg-cfg (tested upfront)
RosBEWin 2.2.2 GCC8.4.0 rls-cfg (tested upfront)
RosBEWin 2.1.6 MSVC2010SP1 (16.0.40219.1) dbg-cfg (tested upfront)
RosBEWin 2.1.6 MSVC2010SP1 (16.0.40219.1) rls-cfg (tested upfront)
(RosBELin 2.1.2 GCC4.7.2 dbg-cfg carrier-releaser) (I will test that after the push in a few minutes)
I did not test Clang at all.
2023-04-13 21:45:49 +02:00
..
cabman [CABMAN] Fix 2 handle leaks, in case of error (#2044) 2019-11-27 01:49:08 +01:00
create_nls Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
fatten [CMAKE] Fix host tools build on x86-64 mingw 2019-11-15 16:22:06 +01:00
gendib Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
geninc Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
hhpcomp [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
hpp [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
isohybrid Add a shared "port" directory for POSIX functions needed by multiple host tools (getopt/mkstemps) and import the one and only getopt from glibc. 2019-04-28 23:23:06 +02:00
kbdtool [CMAKE] Fix host tools build on x86-64 mingw 2019-11-15 16:22:06 +01:00
log2lines [LOG2LINES] Remove SVN leftovers 2020-02-22 13:48:18 +01:00
mkhive [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
mkisofs [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
mkshelllink [TOOLS] Fix/suppress all MSVC/x64 warnings (#1525) 2019-04-28 23:21:48 +02:00
ms2ps Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
nandflash Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
obj2bin Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
ofw_interface Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
pipetools Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
port Add a shared "port" directory for POSIX functions needed by multiple host tools (getopt/mkstemps) and import the one and only getopt from glibc. 2019-04-28 23:23:06 +02:00
regtests2xml Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
rgenstat Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
rsym [CMAKE] Fix host tools build on x86-64 mingw 2019-11-15 16:22:06 +01:00
spec2def [0.4.14][SPEC2DEF] Mute "Exported symbol should be private"-warnings on GCC CORE-16380 temporarily 2023-04-13 21:45:49 +02:00
unicode [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
utf16le [TOOLS] Fix/suppress all MSVC/x64 warnings (#1525) 2019-04-28 23:21:48 +02:00
widl [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
winesync [WINESYNC]: d3dx9 is now in sync with wine-staging wine-4.2 2020-02-26 18:19:18 +01:00
wpp [CMAKE] Fix host tools build on x86-64 mingw 2019-11-15 16:22:06 +01:00
xml2sdb [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
bin2c.c [TOOLS] Fix/suppress all MSVC/x64 warnings (#1525) 2019-04-28 23:21:48 +02:00
check_code_format.sh [REACTOS] Introduce .clang-format file 2019-12-28 01:23:49 +02:00
CMakeLists.txt [SDK][HOST-TOOLS] Add load_config workaround for gcc builds 2020-04-17 17:47:24 +02:00
do_code_format.sh [SDK][TOOLS] Add do_code_format.sh to sdk/tools (#2191) 2019-12-31 11:28:56 +09:00
dumpstab.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
gen_baseaddress.py [SDK] Add usage / help to gen_baseaddress.py 2019-12-27 19:51:20 +01:00
mkconfig.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
pefixup.c [PEFIXUP] Improve error messages 2020-04-19 15:19:03 +02:00
stubgen.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00