Re: about ignoring "#pragma weak symbol"

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

 



Erik Leunissen wrote:

...
- Why would gcc (or the preprocesor) ignore this pragma?
- What do I need to do to make the pragma not being ignored?
- Why would 4.1.2 ignore it, but 3.3.0 let it pass?
...

To answer my own question (at least partially):

Moving the pragma directive up front, made the warning go away. Therefore, I believe this is an issue regarding the placement of this statement relative to the first use of the symbol.

No need to respond anymore, unless you believe my logic regarding the relative placement is flawed.

Thanks,

Erik Leunissen


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux