Package: stlport5.1
Version: 5.0.99rc2-1
Severity: important
Justification: fails to build from source

[...]
make[1]: Entering directory `/tmp/stlport5.1-5.0.99rc2/build/lib'
c++ -pthread -fexceptions -fident  -fPIC -O2 -g -fuse-cxa-atexit  -D_REENTRANT 
-D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport  -c -o 
obj/gcc/so/dll_main.o ../../src/dll_main.cpp
../../stlport/stl/_mbstate_t.h:118: error: size of array '__static_assert' is 
negative
make[1]: *** [obj/gcc/so/dll_main.o] Error 1

The code in question is:

#  if defined (__GNUC__) && defined (__alpha__)
/* Definition of WCHAR_MIN and MAX are wrong for alpha platform
 * as gcc consider wchar_t as an unsigned type. Static assertion are
 * here to check that a future alpha SDK or a future gcc won't change the
 * situation making this workaround useless.
 */
_STLP_STATIC_ASSERT(((wchar_t)-1 > 0) && (WCHAR_MIN < 0))
#    undef WCHAR_MIN
#    define WCHAR_MIN 0
#    undef WCHAR_MAX
#    define WCHAR_MAX ((wchar_t)~0)
#  endif

Well, apparently the workaround is obsolete and you can just remove
the whole paragraph.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: alpha
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.5
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to