* util-alone.c: Use indented #error.

* vfs.h: Use indented #warning instead of hiding it from non-gcc
compilers.
This commit is contained in:
Pavel Roskin 2001-06-14 15:26:29 +00:00
parent ff84fd632e
commit 22a3755dc0
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2001-06-14 Pavel Roskin <proski@gnu.org>
* util-alone.c: Use indented #error.
* vfs.h: Use indented #warning instead of hiding it from non-gcc
compilers.
2001-06-11 Pavel Roskin <proski@gnu.org>
* cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.

View File

@ -49,7 +49,7 @@
#include "callback.h"
#ifndef VFS_STANDALONE
#error This has only sense when compiling standalone version
#error "This file should only be used in standalone VFS"
#endif
int source_route = 0;

View File

@ -391,9 +391,7 @@ extern void mc_vfs_done( void );
listed above and O_APPEND */
#if (O_ALL & O_APPEND)
#ifdef __GNUC__
#warning Unexpected problem with flags, O_LINEAR disabled, contact pavel@ucw.cz
#endif
#warning "Unexpected problem with flags, O_LINEAR disabled, contact pavel@ucw.cz"
#define O_LINEAR 0
#define IS_LINEAR(a) 0
#define NO_LINEAR(a) a