New patch attached. I swapped the parameters of the write function for 4bits to conform to the convention used in other writes, bits, then data. mike
On Wed, Jan 13, 2010 at 8:58 AM, [email protected] < [email protected]> wrote: > The idea of compiling it with c++ was just to check the stricter types. > of course it should compile with c, and link against c++. > mike > > > On Wed, Jan 13, 2010 at 3:55 AM, Rodrigo Rodrigues da Silva < > [email protected]> wrote: > >> I'm not an expert on this subject, but I think you don't need to compile >> libredwg with g++ in order to link it to a c++ application. We just need >> some ifdef's in the headers. Check this post: >> >> >> http://www.linuxforums.org/forum/linux-programming-scripting/114680-how-link-c-library-c-application.html >> >> Rodrigo >> >> >> [email protected] wrote: >> >>> >>> yes I was wrestling with a problem like that at one point. >>> please try this version and tell me if you have that problem >>> >>> http://github.com/h4ck3rm1k3/LibreDWGCPlusPlus >>> thanks >>> mike >>> >> >> >> >> >
