[PATCH] Add implicit C linkage for win32-specific entry points

2013-05-04 Thread Jacek Caban
Hi, This is another version of my old patch, changed to use target hooks as requested by Steven Bosscher. Tested on i686-w64-mingw32, x86_64-w64-mingw32 and x86_64-unknown-linux-gnu, bootstrapped on x86_64-unknown-linux-gnu. Disclaimer: the patch is in public domain. (because I don't have

Re: Ping: [PATCH] Add implicit C linkage for win32-specific entry points

2012-06-15 Thread Kai Tietz
2012/6/15 Eric Botcazou : >> Jacek Caban sent this: >> >> http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01987.html >> >> in response to this: >> >> http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01986.html >> >> But it never got reviewed.  Could you review and commit? > > No, I don't have approval rig

Re: Ping: [PATCH] Add implicit C linkage for win32-specific entry points

2012-06-15 Thread Eric Botcazou
> Jacek Caban sent this: > > http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01987.html > > in response to this: > > http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01986.html > > But it never got reviewed. Could you review and commit? No, I don't have approval rights here, you need a Windows maintaine

Ping: [PATCH] Add implicit C linkage for win32-specific entry points

2012-06-14 Thread NightStrike
Eric, Jacek Caban sent this: http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01987.html in response to this: http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01986.html But it never got reviewed. Could you review and commit?

[PATCH] Add implicit C linkage for win32-specific entry points

2012-03-31 Thread Jacek Caban
Fixed Changelog as requested by Eric. Thanks. gcc/ChangeLog * config/i386/mingw-w64.h: Specify entry points with implicit C linkage gcc/cp/ChangeLog: * decl.c: Allow custom target implicit C linkage gcc/testsuite/ChangeLog: * g++.dg/ext/main.C: Added implicit C linkage

Re: [PATCH] Add implicit C linkage for win32-specific entry points

2012-03-31 Thread Eric Botcazou
> This is my first patch to GCC, so please let me know if I did something > wrong. This patch fixes common annoyance on w64-mingw32 targets, where > once needs to add explicit "C" linkage to make C++ app work with wmain > entry point. > > * decl.c: Allow custom target implicit C linkage >

[PATCH] Add implicit C linkage for win32-specific entry points

2012-03-31 Thread Jacek Caban
This is my first patch to GCC, so please let me know if I did something wrong. This patch fixes common annoyance on w64-mingw32 targets, where once needs to add explicit "C" linkage to make C++ app work with wmain entry point. * decl.c: Allow custom target implicit C linkage *