summaryrefslogtreecommitdiff
path: root/sandbox-capsicum.c
diff options
context:
space:
mode:
authordtucker <dtucker>2014-01-18 10:12:42 +0000
committerdtucker <dtucker>2014-01-18 10:12:42 +0000
commit7f5da3211ef3764c9b62cd4048c9cff0389c8104 (patch)
tree0f36b4b4d09576d84227ab6e41a89c39e0d1916a /sandbox-capsicum.c
parente8b65fcef5c0711be1e3d09f75d6b76ba4472837 (diff)
downloadopenssh-7f5da3211ef3764c9b62cd4048c9cff0389c8104.tar.gz
- (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 'sandbox-capsicum.c')
0 files changed, 0 insertions, 0 deletions