[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: ustr (updated package)



> I have setup gcc-4.3 from experimental on a sid xen guest.
> The warning is emitted for example on following (simplified) code:
> 
>     extern inline char func( int arg )
>     {
>       static const char foomap[4] = {2, 4, 8, 16};
> 
>       return foomap[arg & 3];
>     }
> 
> I have red several times the ISO paragraph :). It seems to me, that
> paragraph applies to this situation.
> IMHO foomap is `reference to an identifier with internal linkage'.
> Or no? :)

That's how I understood it, too.

> I'm not expert for C in such depth...

me neither.

Still nothing which should stop a sponsor from sponsoring the package -
I can't do it unfortunately - not a DD.


Cheers,

Bernd

-- 
Bernd Zeimetz
<bernd@bzed.de>                         <http://bzed.de/>



Reply to: