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

Re: "struct user" conflicts on armel and armfh



Carlos O'Donell wrote:
[...]
> There appears to be no good reason for it to be called `struct user`
> on Linux (on other OSs this is harder to control), it should have been
> named something that doesn't clash with the applications namespace
> e.g. struct __user.

This might be a good time to mention that on ARM, sys/ucontext.h defines
both symbols and preprocessor macros called R0, R1, R2, etc in the
global namespace; this is causing one of my packages to fail to build
due to symbol collision.

I'm fixing the package, but naming symbols stuff like that is still
pretty antisocial...

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: