diff options
Diffstat (limited to 'Utilities/cmlibarchive/libarchive')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_private.h | 13 | ||||
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_windows.c | 1 | ||||
-rw-r--r-- | Utilities/cmlibarchive/libarchive/filter_fork_windows.c | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_private.h b/Utilities/cmlibarchive/libarchive/archive_private.h index c66cf14..7a023e0 100644 --- a/Utilities/cmlibarchive/libarchive/archive_private.h +++ b/Utilities/cmlibarchive/libarchive/archive_private.h @@ -35,6 +35,19 @@ #include "archive.h" #include "archive_string.h" +#if defined(__BORLANDC__) +# pragma warn -8004 /* Assigned value never used. */ +# pragma warn -8008 /* Condition is always true/false. */ +# pragma warn -8012 /* Compare signed/unsigned. */ +# pragma warn -8053 /* Called function is obsolete. */ +# pragma warn -8057 /* Unused parameter. */ +# pragma warn -8060 /* Possibly incorrect assignment. */ +# pragma warn -8065 /* Call to function without prototype. */ +# pragma warn -8066 /* Unreachable code. */ +# pragma warn -8068 /* Constant out of range in comparison. */ +# pragma warn -8072 /* Suspicious pointer arithmetic. */ +#endif + #if defined(_MSC_VER) # pragma warning (push,1) #endif diff --git a/Utilities/cmlibarchive/libarchive/archive_windows.c b/Utilities/cmlibarchive/libarchive/archive_windows.c index a573ac6..65d6116 100644 --- a/Utilities/cmlibarchive/libarchive/archive_windows.c +++ b/Utilities/cmlibarchive/libarchive/archive_windows.c @@ -47,6 +47,7 @@ #if defined(_WIN32) && !defined(__CYGWIN__) #include "archive_platform.h" +#include "archive_private.h" #include <ctype.h> #include <errno.h> #include <stddef.h> diff --git a/Utilities/cmlibarchive/libarchive/filter_fork_windows.c b/Utilities/cmlibarchive/libarchive/filter_fork_windows.c index 3dae4b6..dfee28c 100644 --- a/Utilities/cmlibarchive/libarchive/filter_fork_windows.c +++ b/Utilities/cmlibarchive/libarchive/filter_fork_windows.c @@ -24,6 +24,7 @@ */ #include "archive_platform.h" +#include "archive_private.h" #if defined(_WIN32) && !defined(__CYGWIN__) |