This is the mail archive of the gcc@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]

Re: A final solution. (Was Re: kernel-2.2.1-undefined references.)


>Yes, I could have used a macro. I didn't, because:
> - macro syntax sucks
> - macros don't do type testing
> - macros don't handle arguments with side effects nicely, so you have to
>   work around that in various ways.

I'd like to add the following item more clearly than I've expressed
it, buried in my previous emails:

  -  macros don't guarantee inlining of the sort Linus probably wants

(They might *today*.  They probably won't in future versions of gcc.)

        tq vm, (burley)


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