diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 777e65b78..a04ceb5d7 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,9 @@ +2001-06-14 Pavel Roskin + + * util-alone.c: Use indented #error. + * vfs.h: Use indented #warning instead of hiding it from non-gcc + compilers. + 2001-06-11 Pavel Roskin * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem. diff --git a/vfs/util-alone.c b/vfs/util-alone.c index 3e2f35a9a..6b0fe5c51 100644 --- a/vfs/util-alone.c +++ b/vfs/util-alone.c @@ -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; diff --git a/vfs/vfs.h b/vfs/vfs.h index eb8771f5c..b36de93dc 100644 --- a/vfs/vfs.h +++ b/vfs/vfs.h @@ -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