On 01/03/2021 22:00, Radosław Korzeniewski wrote:
[SNIP]
Bacula configure script is checking for typeof() and sets HAVE_TYPEOF if found. I think the proper fix should use:

#ifdefHAVE_TYPEOF
...
#else
...
#endif

More correctly, autfsckup should look for typeof, __typeof, and __typeof__, define TYPEOF appropriately, and *then* have #ifdef TYPEOF.

Or, better yet, people writing code that is intended to be portable should write it in C or C++, rather than GCC or G++ or some other dialect.

    Also, the last line of src/filed/suspend.h does not have a newline,


Is it a real problem for SDS?

It's not a problem, it's just another pointless irritation. Compilers should complain about mal-formed files, because they can't be sure they haven't been truncated by some error.

        Cheers,
                Gary    B-)


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to