Jo�o Abecasis wrote:
Jo�o Abecasis wrote:

This is weird... I get the error if I compile quickbook with gcc-3.3 and
intel-linux-8.1 but not with gcc-3.4 (all on linux).

Changing 'true' and 'false' for '1' and '0' seems to fix this bug.

The attached patch fixes the issue for gcc-3.3 and intel-linux (gcc-3.4 works as before ;) )

If there are no objections I'll commit this to CVS (I'll also add a comment stating why 0/1 are necessary)

Best,


Jo�o
Index: quickbook.hpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/quickbook.hpp,v
retrieving revision 1.2
diff -u -r1.2 quickbook.hpp
--- quickbook.hpp	30 Jan 2005 22:52:27 -0000	1.2
+++ quickbook.hpp	12 Mar 2005 00:21:00 -0000
@@ -138,9 +138,9 @@
                     ;
 
                 preformatted =
-                    "pre" >> hard_space                 [assign_a(is_not_preformatted, false)]
+                    "pre" >> hard_space                 [assign_a(is_not_preformatted, 0)]
                     >> !eol >> phrase                   [self.actions.preformatted]
-                    >> eps_p                            [assign_a(is_not_preformatted, true)]
+                    >> eps_p                            [assign_a(is_not_preformatted, 1)]
                     ;
 
                 def_macro =

Reply via email to