W3C home > Mailing lists > Public > www-archive@w3.org > May 2011

tre.h does not define size_t

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 08 May 2011 12:36:07 +0200
To: ville@laurikari.net
Cc: www-archive@w3.org
Message-ID: <p2scs6t2fglslsea2fdgei0vk6oq9eehhf@hive.bjoern.hoehrmann.de>

  In 0.8.0 tre.h does not #include <stddef.h> and does not include a
comparable header unconditionally, so depending on configuration the
type `size_t` ends up being undefined but used, meaning applications
that include tre.h before including stddef.h fail to compile. With C
it seems tre.h should #include <stddef.h> before using `size_t` in
some manner (like, literally, or by including stdlib.h).

Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 8 May 2011 10:36:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:43:46 UTC