bug or problem with gcc and include files

Guy Fraser guy at incentre.net
Thu Mar 25 15:38:17 UTC 2004


Is this an agreement or statement?

jludwig wrote:

>If include is a preprocessor directive how can it be in the body of a
>function?
>  
>
Of course you can put preprocessor directives in the body of a function.

I would not suggest it is a good idea to put "#include" statements inside a
function but there are other directives that are commonly used inside 
functions.

-- 
Guy Fraser







More information about the fedora-list mailing list