> > My patch doesn't break win32 non-clustered backups so I don't think it's > > going to break anything. I have just committed it (8781). Could you > > please do a win64 build and either email me back with a link or post a > > link to bug 1277 directly so that 'dmadole' can test it? > > It builds fine on Win32, but fails to compile on Win64: >
> api.h:281: error: multiple definition of ‘enum _COMPUTER_NAME_FORMAT’ > api.h:297: warning: ‘WINBOOL GetComputerNameExW(COMPUTER_NAME_FORMAT, WCHAR*, > DWORD*)’ redeclared without dllimport attribute: previous dllimport ignored The problem is that the 32 bit headers don't define COMPUTER_NAME_FORMAT or GetComputerNameExW so I define them myself in my api.h file. The 64 bit headers must define them though, hence the error. Our options are to #ifdef my definitions out on a 64 bit build or move them into the 32 bit headers. The latter is probably the 'right thing' to do, but how easy is it going to maintain? In the meantime, I'll do the former. Do you know offhand what I can use to detect a 64 bit build? I'll go searching now... James ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
