On Wed, Jul 28, 2004 at 09:41:28AM +1200, Danny Smith wrote:
>----- Original Message -----
>From: "Christopher Faylor" | >I would object to having the auto-import
>warnings disabled by default on
>| >mingw, because for many mingw users coming from MS-compat code base,
>| >these warning usually mean either a coding error or the GCC compiler
>| >isn't doing the same thing that MS compiler does. Both need
>| Can you see how the warnings are generated now? It looks like they
>| should be under the control of pe_dll_extra_pe_debug but I don't see
>| that getting set to a non-false value anywhere unless
>| --enable-extra-pe-debug is specified. Are those the warnings that you
>| are talking about, Danny? I think I used to carry around some special
>| code which did something different if
>| link_info.pei386_runtime_pseudo_reloc was set to -1 but I don't see
>| special handling there either.
>No I'm just talking about the three way switch for --enable-auto-import.
>Currently, the default in srcs (and in mingw) is to enable auto-import,
>but warn. Cygwin-local default was (maybe still is) to disable the
>warnings as well. I just wanted to clarify that if you do make the
>enable-pseudo-reloc the default, I would prefer the auto-import
>warnings to remain on by default. (ie, link_info.pei386_auto_import
Ok. It did used to be on by default but, somewhere along the line,
that local change to binutils got wiped out, too.
Do you mind if I just use ifdef __MINGW__ to set the default? It
isn't strictly correct but it should catch all but the corner cases.