jfs-discussion  

Re: [Jfs-discussion] Re: [ANNOUNCE] JFS 1.1.3

Dave Kleikamp
Wed, 10 Sep 2003 05:36:21 -0700

On Tue, 2003-09-09 at 04:06, szonyi calin wrote:
> it seems that gcc-2.95.3 doesn't like the definition of
> fsck_send_msg 
> gcc version:
> Reading specs from
> /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
>  gcc version 2.95.3 20010315 (release) 

We were bit by this one once before in with the kernel code.  Try this
patch.  I don't have the 2.95 compiler handy, so please let me know
whether or not this fixes it.  Thanks.

Shaggy

Index: jfsutils/libfs/fsck_message.h
===================================================================
RCS file: /usr/cvs/jfs/jfsutils/libfs/fsck_message.h,v
retrieving revision 1.1
diff -u -r1.1 fsck_message.h
--- jfsutils/libfs/fsck_message.h       25 Jun 2003 21:04:21 -0000      1.1
+++ jfsutils/libfs/fsck_message.h       10 Sep 2003 12:31:12 -0000
@@ -9,12 +9,10 @@
 #define fsck_ref_msg(msg_num) msg_defs[msg_num].msg_txt
 
 #define fsck_send_msg(msg_num, arg...) \
-       v_fsck_send_msg(msg_num, __FILE__, \
-                       __LINE__, ## arg);
+       v_fsck_send_msg(msg_num, __FILE__ , __LINE__ , ## arg);
 
 #define send_msg(msg_num, arg...) \
-       v_send_msg(msg_num, __FILE__, \
-                  __LINE__, ## arg);
+       v_send_msg(msg_num, __FILE__ , __LINE__ , ## arg);
 
 // Define the maximum number of messages
 

-- 
David Kleikamp
IBM Linux Technology Center

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion