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
create_nls
fatten
gendib
geninc
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
kbdtool
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
ms2ps
nandflash
obj2bin
ofw_interface
pipetools
port
regtests2xml
rgenstat
rsym
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
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
xml2sdb [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
bin2c.c
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
gen_baseaddress.py [SDK] Add usage / help to gen_baseaddress.py 2019-12-27 19:51:20 +01:00
mkconfig.c
pefixup.c [PEFIXUP] Improve error messages 2020-04-19 15:19:03 +02:00
stubgen.c