This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [trunk][patch] Don't print warnings in mangle_decl


Rafael Espindola wrote:
>> I wouldn't expect any warnings.
>>
>> However, I see nothing in your patch that will ever warn about
>> variables.  Your patch looked to me to only handle functions.  Will it
>> handle variables too?
> 
> To be honest, I am not sure. I don't know the c++  ABI or what changed
> on it. Do you have an example that should produce a waring for a
> variable?

I don't know of an easy example, but it should be easy to modify the
mangling routines to always generate a warning.  Then, you can see if
you get a warning about variables.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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