Applied at revision 202573.
Thanks,
Kai
> language linkage the declaration would normally have.
>
> OK with that change.
Thanks for review, a patch with that change is attached.
Jacek
commit 2647e6d0a095658829e275a96b63814b488e0451
Author: Jacek Caban
Date: Sat Dec 29 18:06:39 2012 +0100
Add implicit C linkage fo
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
o a look to it.
I attached a fixed version. Thanks for review.
Jacek
commit b0d56c97c651b1d91e66fb8153e0270dd2e8817c
Author: Jacek Caban
Date: Sat Dec 29 18:06:39 2012 +0100
Add implicit C linkage for win32-specific entry points
gcc/c-family/ChangeLog:
c-target.de
Hi Jacek,
2013/9/12 Jacek Caban :
> 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
> c
ec 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-c.c: New
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
On Mon, Jun 18, 2012 at 12:54 PM, Jacek Caban 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:
> * g++.dg/ext/main.C: Added
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 |
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
> 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
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?
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
> 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
*
15 matches
Mail list logo