This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: make libobjc/encoding.c include machmode.h


libobjc fails to build on sh-elf and sh64-elf:

/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c: In function `objc_layout_fi
nish_structure':
/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c:906: warning: implicit decla
ration of function `GET_MODE_CLASS'
/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c:906: error: `MODE_COMPLEX_IN
T' undeclared (first use in this function)
/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c:906: error: (Each undeclared
 identifier is reported only once
/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c:906: error: for each functio
n it appears in.)
/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c:906: error: `MODE_COMPLEX_FL
OAT' undeclared (first use in this function)
/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c:906: warning: implicit decla
ration of function `GET_MODE_BITSIZE'
/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c:906: warning: type defaults 
to `int' in declaration of `__x'
/swbuild/nightly/2003-06-17/srcw/libobjc/encoding.c:906: warning: type defaults 
to `int' in declaration of `__y'
make[1]: *** [encoding.lo] Error 1
make[1]: Leaving directory `/swbuild/nightly/2003-06-17/sh-elf/sh-elf/libobjc'
make: *** [all-target-libobjc] Error 2

-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658
2003-06-18  J"orn Rennecke <joern.rennecke@superh.com>

	* encoding.c: Include machmode.h.

Index: encoding.c
===================================================================
RCS file: /cvs/gcc/gcc/libobjc/encoding.c,v
retrieving revision 1.19
diff -p -r1.19 encoding.c
*** encoding.c	23 May 2003 20:04:58 -0000	1.19
--- encoding.c	18 Jun 2003 12:04:30 -0000
*************** Boston, MA 02111-1307, USA.  */
*** 34,39 ****
--- 34,40 ----
  #include "tm.h"
  #include "objc-api.h"
  #include "encoding.h"
+ #include "machmode.h" /* For ROUND_TYPE_ALIGN.  */
  #include <stdlib.h>
  
  #undef  MAX

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]