diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-01-18 21:12:42 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-01-18 21:12:42 +1100 |
commit | fdce3731660699b2429e93e822f2ccbaccd163ae (patch) | |
tree | 2f80622e6f2fec28032b21b106e663a3040f33a6 /ChangeLog | |
parent | 1411c9263f46e1ee49d0d302bf7258ebe69ce827 (diff) |
- (dtucker) [configure.ac] On Cygwin the getopt variables (like optargs,
optind) are defined in getopt.h already. Unfortunately they are defined as
"declspec(dllimport)" for historical reasons, because the GNU linker didn't
allow auto-import on PE/COFF targets way back when. The problem is the
dllexport attributes collide with the definitions in the various source
files in OpenSSH, which obviousy define the variables without
declspec(dllimport). The least intrusive way to get rid of these warnings
is to disable warnings for GCC compiler attributes when building on Cygwin.
Patch from vinschen at redhat.com.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -5,6 +5,15 @@ | |||
5 | declarations that stopped being included when we stopped including | 5 | declarations that stopped being included when we stopped including |
6 | <windows.h> from openbsd-compat/bsd-cygwin_util.h. Patch from vinschen at | 6 | <windows.h> from openbsd-compat/bsd-cygwin_util.h. Patch from vinschen at |
7 | redhat.com. | 7 | redhat.com. |
8 | - (dtucker) [configure.ac] On Cygwin the getopt variables (like optargs, | ||
9 | optind) are defined in getopt.h already. Unfortunately they are defined as | ||
10 | "declspec(dllimport)" for historical reasons, because the GNU linker didn't | ||
11 | allow auto-import on PE/COFF targets way back when. The problem is the | ||
12 | dllexport attributes collide with the definitions in the various source | ||
13 | files in OpenSSH, which obviousy define the variables without | ||
14 | declspec(dllimport). The least intrusive way to get rid of these warnings | ||
15 | is to disable warnings for GCC compiler attributes when building on Cygwin. | ||
16 | Patch from vinschen at redhat.com. | ||
8 | 17 | ||
9 | 20140117 | 18 | 20140117 |
10 | - (dtucker) [aclocal.m4 configure.ac] Add some additional compiler/toolchain | 19 | - (dtucker) [aclocal.m4 configure.ac] Add some additional compiler/toolchain |