Re: problemy z gcc (sid)
Maciej Wachowiec <dwakwiaty@wp.pl> writes:
Czesc,
> Ktoś z Was spotkał się już z takim zachowaniem gcc? Czekać na kolejną
> wersję, czy od razu zgłosić bug'a?
to juz zrobili inni ;)
To tez
--- linux-2.4.20-WOLK4.0s-pre-final_master/drivers/ide/ide-cd.h 2003-04-22 11:58:51.000000000 +0200
+++ linux-2.4.20-WOLK4.0s-pre-final/drivers/ide/ide-cd.h 2003-04-21 22:16:13.000000000 +0200
@@ -437,7 +437,7 @@
byte curlba[3];
byte nslots;
- __u8 short slot_tablelen;
+ __u16 slot_tablelen;
};
diff -Nru old/include/linux/compiler.h WOLK4/include/linux/compiler.h
--- old/include/linux/compiler.h Fri Feb 21 19:50:41 2003
+++ WOLK4/include/linux/compiler.h Mon Mar 10 22:34:24 2003
@@ -1,6 +1,12 @@
#ifndef __LINUX_COMPILER_H
#define __LINUX_COMPILER_H
+#if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
+#define inline __inline__ __attribute__((always_inline))
+#define __inline__ __inline__ __attribute__((always_inline))
+#define __inline __inline__ __attribute__((always_inline))
+#endif
+
/* Somewhere in the middle of the GCC 2.96 development cycle, we implemented
a mechanism by which the user can annotate likely branch directions and
expect the blocks to be reordered appropriately. Define __builtin_expect
Pozdrawiam/Gruß/Regards
Robert Rakowicz
--
Robert Rakowicz
E-Mail: Robert.Rakowicz@rjap.de
URL: www.rjap.de
Reply to: