This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

intl patches (12)



This patch avoids a compilation error on alphaev5-cray-unicosmk2.0.5.X.
I don't know what exactly is broken in the Cray C compiler, but I've got
reports that this fixes the problem. And it does not introduce warnings,
because gcc wants prototypes only for functions with extern linkage.

This patch has no effect inside glibc.


2001-01-24  Bruno Haible  <haible@clisp.cons.org>

	* intl/gettextP.h (SWAP): Remove declaration, to work around a
	compilation failure on alphaev5-cray-unicosmk2.0.5.X.

diff -r -c3 intl/gettextP.h intl-98/gettextP.h
*** intl/gettextP.h	Sat Mar 17 18:53:53 2001
--- intl/gettextP.h	Sat Mar 17 14:10:54 2001
***************
*** 63,70 ****
  # include <byteswap.h>
  # define SWAP(i) bswap_32 (i)
  #else
- static nls_uint32 SWAP PARAMS ((nls_uint32 i));
- 
  static inline nls_uint32
  SWAP (i)
       nls_uint32 i;
--- 63,68 ----


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