Re: build broken on OS X

Igor Korot <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CA+FnnTzMV5jS2HOtwv7jKSpuECbYcsR4ky_DkWgK=sM5z_=H_A@mail.gmail.com>
Hi, Craig,

On Thu, Aug 27, 2015 at 7:54 PM, Craig A. Berry <[email protected]> wrote:
> 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.

Whats your OS/compiler version?

Thank you.

>
> 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
>
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.