]> www.ginac.de Git - cln.git/commitdiff
Remove 'auto' keyword used as storage specifier.
authorRichard Kreckel <kreckel@ginac.de>
Mon, 10 May 2010 06:59:44 +0000 (08:59 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 10 May 2010 06:59:44 +0000 (08:59 +0200)
That obsolete keyword is being rededicated in C++-0x to another use.

autoconf/intparam.c

index 43721669daf7f0f58305083acc2da459e6b75f11..375ff8060ee6b4ad1a5fcdbe345728d327fbdd4d 100644 (file)
@@ -498,7 +498,7 @@ void main8(void) {
 void main9(void) {
 #define get_endian(type,typestr,type_bitsize)  \
   { if (type_bitsize == uchar_bitsize * sizeof(type))                                            \
-      { auto union { uchar einzeln[sizeof(type)]; type gesamt; } x;                              \
+      { union { uchar einzeln[sizeof(type)]; type gesamt; } x;                              \
         int i,j;                                                                                 \
         boolean big_endian = TRUE;                                                               \
         boolean little_endian = TRUE;                                                            \
@@ -540,7 +540,7 @@ void main9(void) {
 }
 
 long get_stack_direction(void)
-  { auto char dummy;
+  { char dummy;
     static char* dummyaddr = (char*)0;
     if (!(dummyaddr == (char*)0))
       { return (&dummy) - dummyaddr; }