Thanks, Petr, for catching this one. We were working on getting the code to compile on windows and apparently moved the include statements a little too much ;-)
Your patch is included in SVN revision 818. John On 3/31/15 12:49 AM, Petr Velan wrote: > Hi John, > > in the utils.cpp the utils.h must be included before using the > HAVE_GETPWUID macro. Currently, I'm getting the following compilation > error: > > util.cpp: In function 'const char* ibis::util::userName()': > util.cpp:1828:24: error: aggregate 'ibis::util::userName()::passwd > pass' has incomplete type and cannot be defined > util.cpp:1836:67: error: 'getpwuid_r' was not declared in this scope > util.cpp:1847:52: error: 'getpwuid' was not declared in this scope > util.cpp:1849:27: error: invalid use of incomplete type 'struct > ibis::util::userName()::passwd' > util.cpp:1828:16: error: forward declaration of 'struct > ibis::util::userName()::passwd' > > Please see the attached patch. > > Best regards, > Petr Velan > > > _______________________________________________ > FastBit-users mailing list > [email protected] > https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users > _______________________________________________ FastBit-users mailing list [email protected] https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
