Boost logo

Boost Users :

Subject: Re: [Boost-users] [signals2] compilation issues with gcc4.4 and -pedantic
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2011-05-12 11:16:34


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, May 12, 2011, Christophe Bourez wrote:
> The following code:
>
> #include <boost/signals2.hpp>
> int main(int , char *[]) { return 0; }
>
> compiles fine with gcc-4.1 and gcc-4.2 and the -pedantic option, but
> generates the following errors using gcc-4.4 with the same compiling
> options:
>
> /home/build/repository/boost-1.46.1-2/gcc-4.4/include/boost/signals2/deta
> il/preprocessed_arg_type_template.hpp:21: error: invoking macro
> BOOST_SIGNALS2_PREFIXED_ARGS_TEMPLATE_DECL argument 2: empty macro
> arguments are undefined in ISO C90 and ISO C++98

It should be fixed in trunk now.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3L+dQACgkQ5vihyNWuA4XDkACfW1RBRvty1Ofci3SICvFbPDqY
bBUAn0tOGSJDZTXFF1wq/Z2YXXpFl45I
=fja8
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net