From 648a878e808c2f2965b3957ec62a180839b9def7 Mon Sep 17 00:00:00 2001 From: zbyniu Date: Fri, 27 May 2005 10:06:34 +0000 Subject: [PATCH] - now in sources Changed files: coda-gcc-334.patch -> 1.2 --- coda-gcc-334.patch | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 coda-gcc-334.patch diff --git a/coda-gcc-334.patch b/coda-gcc-334.patch deleted file mode 100644 index 67249b2..0000000 --- a/coda-gcc-334.patch +++ /dev/null @@ -1,42 +0,0 @@ -On Tue, Jun 22, 2004 at 10:41:07PM -0400, Guest user via RT wrote: -> And now, with gcc-3.3.4, and kernel 2.6.7: -> -> i686-pld-linux-g++ -fno-exceptions -fcheck-new -Wall -MD -DHAVE_CONFIG_H -> -I. -I/home/users/aredridel/rpm/BUILD/coda-6.0.6/include -> -I/home/users/aredridel/rpm/BUILD/coda-6.0.6 -O2 -march=i686 -ggdb -> -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o adv_monitor.o -> adv_monitor.cc -> In file included from adv_monitor.h:24, -> from adv_monitor.cc:19: -> fso.h:542: error: using typedef-name `HoardFetchState' after `enum' -> fso.h:543: error: ISO C++ forbids declaration of `new_state' with no type -> fso.h:550: error: using typedef-name `HoardAskState' after `enum' -> fso.h:551: error: ISO C++ forbids declaration of `new_state' with no type - -Ok, gcc just got more paranoid. The patch is really quite simple, - -Index: fso.h -=================================================================== -RCS file: /afs/cs/project/coda-src/cvs/coda/coda-src/venus/fso.h,v -retrieving revision 4.64 -diff -u -u -r4.64 fso.h ---- fso.h 5 Mar 2004 21:15:53 -0000 4.64 -+++ fso.h 25 Jun 2004 22:13:34 -0000 -@@ -539,7 +539,7 @@ - void DetachHdbBindings(); - void DetachHdbBinding(binding *, int =0); - int PredetermineFetchState(int, int); -- void SetFetchAllowed(enum HoardFetchState new_state) -+ void SetFetchAllowed(HoardFetchState new_state) - { FetchAllowed = new_state; } - int IsFetchAllowed() - { if (FetchAllowed == HF_Fetch) -@@ -547,7 +547,7 @@ - else - return 0; - } -- void SetAskingAllowed(enum HoardAskState new_state) -+ void SetAskingAllowed(HoardAskState new_state) - { AskingAllowed = new_state; } - int IsAskingAllowed() - { if (AskingAllowed == HA_Ask) -- 2.44.0