hi,
yeh, sure, i'm not surprised, that's what i meant in previous mail. but you can't make a version really compatible for 0.36 and 0.37 because of that.
and about using "m_imp.h" and g_canvas.h", it's true, now, with 0.37 , "m_imp.h" is no longer needed but "g_canvas.h" contains all graphic calls for objects, so all graphic objects need it, sorry ....
cheers, sevy
derek holzer wrote:
hi all,
just a note: for PD version 0.36, on my machine, the CVS version compiled once i removed:
#include "m_pd.h"
thanks for the help, d.
Krzysztof Czaja wrote:
hi Yves,
Yves Degoyon wrote: ...
i doubt that you can make a version compatible with 0.36 and 0.37
why not -- in your project's tree include a file, say "pd_imp.h", with
#ifdef PD_MINOR_VERSION #include "m_imp.h" #else <stripped down copy of m_imp.h taken from 0.36 -- it is frozen, after all...> #endif
then in your extern's source file put
#include "m_pd.h" #include "pd_imp.h" ...
Krzysztof
...
because in 0.36, the includes were :
#include "m_imp.h" #include "g_canvas.h"
and, in 0.37, it's :
#include <m_pd.h> #include "m_imp.h" #include "g_canvas.h"
oh and yeh, the PD_MINOR_VERSION is defined in m_pd.h of course ( haha ).
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list