Re: Type-generic macros with C

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

 



Jörg Leis <joerg@xxxxxxxxxxxxx> writes:

> A related question: Is it expected that in C99-mode GCC might not be
> able to compile a program because of the use of an inline function? I
> defined an inline function like this:
>
> inline int do()
> {
> 	// ...
> }

C99 mode should support inline functions just fine.  If you are having
trouble, show us the complete test case and tell us what happens.
Also the version of gcc makes a difference; full support for C99
inline functions was first in gcc 4.3.

Ian


[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