This is the mail archive of the gcc-help@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: attribute syntax


He Zhao <He.Zhao@mathworks.com> writes:

> Are these two syntaxes equivalent?
>    __attribute__((aligned(16))
>    __attribute((aligned(16))
>
> I somehow I saw the second one somewhere but I cannot find it now.  Also, the second one does not cause compilation error.  I'm wondering if both of them are correct syntax.  Thanks.

Yes, they are equivalent.

Ian


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