[serialization] Header Ordering tests for Borland

As far as I can tell, in the current CVS state (even after my patch) none of the test_exported_xxx tests will build for Borland... Fatal F1003 ..\..\..\boost/spirit/core/config.hpp 56: Error directive: "Compiler not supported. See note in <boost/spirit/core/config.hpp>" *** 1 errors in Compile *** ...of course, I don't have Spirit 1.6 installed, but even msvc 6 and 7 will run enough of the test_exported_xxx tests to verify that things are working. So, is this a problem? I don't think I can test against Borland. -- Dave Abrahams Boost Consulting www.boost-consulting.com

Its easy to download spirit 1.6. There's no "instalation" necessary other than just specifying the directory to which it has been loaded in one's path. Robert Ramey David Abrahams wrote:
As far as I can tell, in the current CVS state (even after my patch) none of the test_exported_xxx tests will build for Borland...
Fatal F1003 ..\..\..\boost/spirit/core/config.hpp 56: Error directive: "Compiler not supported. See note in <boost/spirit/core/config.hpp>" *** 1 errors in Compile ***
...of course, I don't have Spirit 1.6 installed, but even msvc 6 and 7 will run enough of the test_exported_xxx tests to verify that things are working. So, is this a problem? I don't think I can test against Borland.

"Robert Ramey" <ramey@rrsd.com> writes:
Its easy to download spirit 1.6. There's no "instalation" necessary other than just specifying the directory to which it has been loaded in one's path.
Where and how is that "specified?" -- Dave Abrahams Boost Consulting www.boost-consulting.com

in the serializaiton documentation/release notes/requirements Robert Ramey David Abrahams wrote:
"Robert Ramey" <ramey@rrsd.com> writes:
Its easy to download spirit 1.6. There's no "instalation" necessary other than just specifying the directory to which it has been loaded in one's path.
Where and how is that "specified?"

"Robert Ramey" <ramey@rrsd.com> writes:
in the serializaiton documentation/release notes/requirements
Robert Ramey
David Abrahams wrote:
"Robert Ramey" <ramey@rrsd.com> writes:
Its easy to download spirit 1.6. There's no "instalation" necessary other than just specifying the directory to which it has been loaded in one's path.
Where and how is that "specified?"
Okay, I found it, thanks. However, you should know that the link on that page that points to how to download Spirit 1.6 is broken. -- Dave Abrahams Boost Consulting www.boost-consulting.com

David Abrahams wrote: [...]
"Robert Ramey" <ramey@rrsd.com> writes:
Its easy to download spirit 1.6. There's no "instalation" necessary other than just specifying the directory to which it has been loaded in one's path.
Where and how is that "specified?"
Okay, I found it, thanks. However, you should know that the link on that page that points to how to download Spirit 1.6 is broken.
Actually it's not that simple. Out-of-the-box Spirit 1.6.3 only works if it's used as in place replacement for 1.8 . The use of double quotes instead of angle brackets causes the compiler to include 1.8 files from 1.6 headers. To overcome this problem you can either export from Boost's CVS SPIRIT_1_6 branch or tweak the attached Python script to fix the 1.6.3 distribution. Cheers, Nicola Musatti import os, re baseDir = "D:\\src\\boost\\boost\\spirit" inclRe = re.compile(R"^(\s*#\s*include\s*)\"(boost.*)\"(\s*)$") extensions = ( ".cpp", ".hpp", ".ipp" ) for path, dirs, files in os.walk(baseDir) : for fn in files : e = os.path.splitext(fn)[1] if e in extensions : p = os.path.join(path,fn) src = file(p) for l in src : if inclRe.match(l) : src.close() src = file(p) temp = p+".NEW" dest = file(temp,"w+") for ln in src : m = inclRe.match(ln) if m : dest.write(m.group(1)+"<"+m.group(2)+">"+ m.group(3)) else : dest.write(ln) src.close() dest.close() backup = p+".BAK" if os.access(backup,os.F_OK) : os.remove(backup) os.rename(p,backup) os.rename(temp,p) break if 'CVS' in dirs : dirs.remove('CVS')

Nicola Musatti <Nicola.Musatti@gmail.com> writes:
David Abrahams wrote: [...]
"Robert Ramey" <ramey@rrsd.com> writes:
Its easy to download spirit 1.6. There's no "instalation" necessary other than just specifying the directory to which it has been loaded in one's path.
Where and how is that "specified?" Okay, I found it, thanks. However, you should know that the link on that page that points to how to download Spirit 1.6 is broken.
Actually it's not that simple. Out-of-the-box Spirit 1.6.3 only works if it's used as in place replacement for 1.8 . The use of double quotes instead of angle brackets causes the compiler to include 1.8 files from 1.6 headers. To overcome this problem you can either export from Boost's CVS SPIRIT_1_6 branch or tweak the attached Python script to fix the 1.6.3 distribution.
Hmm, it seems to work for me, at least in the serialization tests. -- Dave Abrahams Boost Consulting www.boost-consulting.com

Nicola Musatti wrote:
David Abrahams wrote: [...]
"Robert Ramey" <ramey@rrsd.com> writes:
Its easy to download spirit 1.6. There's no "instalation" necessary other than just specifying the directory to which it has been loaded in one's path.
Where and how is that "specified?"
Okay, I found it, thanks. However, you should know that the link on that page that points to how to download Spirit 1.6 is broken.
Actually it's not that simple. Out-of-the-box Spirit 1.6.3 only works if it's used as in place replacement for 1.8 . The use of double quotes instead of angle brackets causes the compiler to include 1.8 files from 1.6 headers. To overcome this problem you can either export from Boost's CVS SPIRIT_1_6 branch or tweak the attached Python script to fix the 1.6.3 distribution.
I had mentioned this on the gmane.comp.parsers.spirit.devel NG on 7/22/2005 and was told that it would be fixed for the next release. Evidently it never was.

Edward Diener wrote:
Nicola Musatti wrote: [...]
Actually it's not that simple. Out-of-the-box Spirit 1.6.3 only works if it's used as in place replacement for 1.8 . The use of double quotes instead of angle brackets causes the compiler to include 1.8 files from 1.6 headers. To overcome this problem you can either export from Boost's CVS SPIRIT_1_6 branch or tweak the attached Python script to fix the 1.6.3 distribution.
I had mentioned this on the gmane.comp.parsers.spirit.devel NG on 7/22/2005 and was told that it would be fixed for the next release. Evidently it never was.
I know. Your message was what made me look into this issue. At least the changes are in CVS now, so whenever a new release is made it will include them, hopefully not too long after Boost 1.34 is released. Cheers, Nicola Musatti
participants (4)
-
David Abrahams
-
Edward Diener
-
Nicola Musatti
-
Robert Ramey