]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/crc.hpp
Also display the info about BibTeX databases in the TeX info panel.
[lyx.git] / boost / boost / crc.hpp
index e70c8340337ba4d7fa67b3229c3553d514989284..6be5aa1d8b1bef83fd99fe63b0553d1c96189d81 100644 (file)
@@ -464,6 +464,10 @@ namespace detail
         // for some reason Borland's command line compiler (version 0x560)
         // chokes over this unless we do the calculation for it:
         typedef value_type                   table_type[ 0x100 ];
+#elif defined(__GNUC__)
+        // old versions of GCC (before 4.0.2) choke on using byte_combos
+        // as a constant expression when compiling with -pedantic.
+        typedef value_type                   table_type[1ul << CHAR_BIT];
 #else
         typedef value_type                   table_type[ byte_combos ];
 #endif