Problem with syntax error in standard library

Jon Linkins <[email protected]> Thu, 3 Jun 2010 22:06:50 +0100
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
--===============1996573420==
Content-Type: multipart/alternative;
	boundary="_504d6e35-ecbe-4346-85aa-eabba9a3311d_"

--_504d6e35-ecbe-4346-85aa-eabba9a3311d_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi=2C

Having established that I can write to this list (see previous message):

I recently built synopsis to evaluate its use for a project which will invo=
lve parsing C++. However=2C when I tried it out on a single file from my co=
mpany's codebase=2C it followed a long chain of #includes into the C++ stan=
dard library=2C where it said there was a syntax error. (From memory this w=
as in c++config.h on linux/g++.) This meant that no output was produced and=
 happened regardless of whether primary_file_only and/or base_path were set=
.

Is this a known problem? Is there something I can do to control which #incl=
udes are followed? I was using the ucpp lexer=3B is it likely the boost one=
 would behave differently?

Regards=2C
Jon Linkins
 		 	   		 =20
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny=2C exciting and crazy Hotmail stories. Tell =
us now=

--_504d6e35-ecbe-4346-85aa-eabba9a3311d_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
--></style>
</head>
<body class=3D'hmmessage'>
Hi=2C<br><br>Having established that I can write to this list (see previous=
 message):<br><br>I recently built synopsis to evaluate its use for a proje=
ct which will involve parsing C++. However=2C when I tried it out on a sing=
le file from my company's codebase=2C it followed a long chain of #includes=
 into the C++ standard library=2C where it said there was a syntax error. (=
From memory this was in c++config.h on linux/g++.) This meant that no outpu=
t was produced and happened regardless of whether primary_file_only and/or =
base_path were set.<br><br>Is this a known problem? Is there something I ca=
n do to control which #includes are followed? I was using the ucpp lexer=3B=
 is it likely the boost one would behave differently?<br><br>Regards=2C<br>=
Jon Linkins<br> 		 	   		  <br /><hr />Get a new e-mail account with Hotmai=
l - Free. <a href=3D'http://clk.atdmt.com/UKM/go/197222280/direct/01/' targ=
et=3D'_new'>Sign-up now.</a></body>
</html>=

--_504d6e35-ecbe-4346-85aa-eabba9a3311d_--

--===============1996573420==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Synopsis-devel mailing list
[email protected]
http://lists.fresco.org/cgi-bin/listinfo/synopsis-devel

--===============1996573420==--