Applied at revision 202573.
Thanks,
Kai
Date: Sat Dec 29 18:06:39 2012 +0100
Add implicit C linkage for win32-specific entry points
gcc/c-family/ChangeLog:
c-target.def: New hook
gcc/ChangeLog:
config/config.gcc: Use new winnt-c.c target hooks
config/t-winnt: New file
config/winnt
Hi Jacek,
2013/9/12 Jacek Caban cja...@gmail.com:
Hi,
This is a resend after I'm done with assignment paper work.
gcc/c-family/ChangeLog:
c-target.def: New hook
gcc/ChangeLog:
config/config.gcc: Use new winnt-c.c target hooks
config/t-winnt: New file
implicit C linkage for win32-specific entry points
gcc/c-family/ChangeLog:
c-target.def: New hook
gcc/ChangeLog:
config/config.gcc: Use new winnt-c.c target hooks
config/t-winnt: New file
config/winnt-c.c: New file
doc/tm.texi.in: Document new
On 09/12/2013 06:26 AM, Jacek Caban wrote:
+@deftypefn {C Target Hook} bool TARGET_CXX_IMPLICIT_EXTERN_C (const
char*@var{})
+Define this hook to add target-specific C++ implicit extern C functions. An
example of such function is WinMain on Win32 targets.
+@end deftypefn
Let's clarify this a
.
Thanks for review, a patch with that change is attached.
Jacek
commit 2647e6d0a095658829e275a96b63814b488e0451
Author: Jacek Caban ja...@codeweavers.com
Date: Sat Dec 29 18:06:39 2012 +0100
Add implicit C linkage for win32-specific entry points
gcc/c-family/ChangeLog:
c
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
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 tests
---
gcc/config/i386/mingw-w64.h |
On Mon, Jun 18, 2012 at 12:54 PM, Jacek Caban ja...@codeweavers.com wrote:
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:
*
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 maintainer (Kai).
2012/6/15 Eric Botcazou ebotca...@adacore.com:
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
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?
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
*
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
*
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
15 matches
Mail list logo