This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] pei386: make --enable-auto-import default




Ralf Habacker wrote:

>>When info->pei386_auto_import = -1 (default) then we continue to issue a
>>message when auto-importing a variable.  If info->pei386_auto_import =
>>1, then we suppress those informational messages -- the user obviously
>>knows that she is auto-importing variables, since she explicitly
>>--enabled them.
>>
> 
> That means, adding --enable-auto-import to the command will only suppress the
> warning, isnt' it ?


Correct.

Current official binutils behavior:
   --disable-auto-import is the default.
   --enable-auto-import turns on the feature, but will print warnings 
whenever the feature is used.

Current cygwin bintuils behavior:
   --enable-auto-import is the default, so the feature is usually 
active.  However, it prints warnings whenever the feature is used.
   --disable-auto-import...turns of the feature

With my patch:
   default behavior: ALMOST the same as current cygwin binutils 
behavior.  auto-import feature is active, but an informational message 
(NOT a warning) is printed whenever the feature is used.
   --enable-auto-import: don't print the informational message/warning.
   --disable-auto-import: turn the feature off...

--Chuck





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]