Re: build broken on OS X
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CAHt6W4ecLXpbZgcSbVsPiWTV8SR_QTU08Ora_AQNWRr_-9JSpQ@mail.gmail.com> |
2015-08-28 0:54 GMT+01:00 Craig A. Berry <[email protected]>: > This is what I see with master as of 6ac57ef9e7eed5fcbcfa80. I don’t see anything obvious or recent that caused it, though 9b57e2ad99f7cc32 ("Allow to include replacements/readpassphrase.h directly”) from back in May is surely part of the picture. fisql.c itself has not changed in a year. > > Making all in apps > Making all in fisql > CC fisql.o > fisql.c:414:3: warning: implicit declaration of function 'readpassphrase' is invalid in C99 [-Wimplicit-function-declaration] > readpassphrase("Password: ", password, READPASSPHRASE_MAXLEN, RPP_ECHO_OFF); > ^ > fisql.c:414:65: error: use of undeclared identifier 'RPP_ECHO_OFF' > readpassphrase("Password: ", password, READPASSPHRASE_MAXLEN, RPP_ECHO_OFF); > ^ > 1 warning and 1 error generated. > make[3]: *** [fisql.o] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 > > I am getting this defined: > > $ grep READPASS include/config.h > #define HAVE_READPASSPHRASE 1 > > ________________________________________ > Craig A. Berry > mailto:[email protected] > > "... getting out of a sonnet is much more > difficult than getting in." > Brad Leithauser > I didn't test it but I think last commit will help Mac OS X :) https://github.com/FreeTDS/freetds/commit/be1ec52d1cfe14a80a886d1e2edccf40eeff69d8 (happily I have a Mac to test the header source). Frediano _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds