On 15/03/2017 21:27, Kern Sibbald wrote:
> Hello Phil,
>
> Thanks for the patches and compiler warning output.
>
> I think I have eliminated all the warnings you show below, with one
> exception, which is changing the position of:
>
> extern "C" char *tgoto (const char *, int, int);
>
> As noted in the comments noted above, this is a particularity (bug) in
> Solaris 10. If you know some why to key it on Solaris 10 only, I will be
> happy to take it, otherwise, the change will break more modern (and
> supported) versions of Solaris.
>
Just an FYI - that particular bug is fixed in current releases of
Solaris 10. Update 11 (don't confuse that with *version* 11) has it,
and Oracle supports that (and earlier) versions of S10.
Relevant bits:
$ cat /etc/release
Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights
reserved.
Assembled 17 January 2013
$ less /usr/include/term.h
#ifdef __STDC__
...
extern char *tgoto(char *, int, int),
*tgetstr(char *, char **),
*tigetstr(char *),
*termname(void);
...
#else /* __STDC__ */
...
extern char *tparm(), *tgoto(), *tgetstr(), *tigetstr(),
*termname();
...
#endif /* __STDC__ */
Cheers,
Gary B-)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel