Some additional personal understanding:
I haven't looked it up, but as far i remember <m_pd.h> is searched  
for standard paths and -I defined paths, whereas "m_pd.h" is searched  
for those plus the source folder.
Otherwise many of my programs would probably not work....

greetings, Thomas

Am 05.09.2007 um 09:23 schrieb IOhannes m zmoelnig:

> [EMAIL PROTECTED] wrote:
>>> /tmp/ccuN3zCm.o: In function `helloworld_bang':
>>> helloworld.c:(.text+0xe): undefined reference to `post'
>
> the given error was a linker error rather than a compiler error.
>
>>
>> You need to #include <m_pd.h> in the source file.
>> If you have #include "m_pd.h" then m_pd.h has to be in the same  
>> directory as the source file.
>
> not quite true.
>
> in my understanding "m_pd.h" will be searched for in all paths  
> given via
> the "-I" compiler-flag, whereas <m_pd.h> will only be searched for in
> "standard" paths.
>
> some stats: a quick search in the externals-folder of the CVS  
> revealed:
> "m_pd.h" is uncluded 889 times
> <m_pd.h> is included 107 times
>
> i doubt that all of the 889 occurences of "m_pd.h" have the m_pd.h in
> the same directory as the source files.
>
> fgmasdr.
> IOhannes
>
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
>


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to