[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Autoscan fails cryptically on our code

From: Richard Brooksby
Subject: Autoscan fails cryptically on our code
Date: Thu, 11 May 2006 18:14:19 +0100

Following the instructions in the Goat Book at <http:// sources.redhat.com/autobook/autobook/autobook_241.html#SEC241> I ran "autoscan" on our source tree, which is visible at <http:// www.ravenbrook.com/project/mps/master/code/>. It said:

address@hidden autoscan -v
autoscan: srcdir = .
autoscan: cannot open <mpm.h: No such file or directory

The file "mpm.h" is in the current directory.

The angle bracket is suspicious.

I think autoscan may be confused by the tagging conventions used for cross-references within the sources. We have many comments which look like this:

* .source: See .design also.  PoolStruct and PoolClassStruct, the
* central types for this module, are defined in <code/mpmst.h>, the
* corresponding abstract types in <code/mpmtypes.h>.  Declarations and
* prototypes are in <code/mpm.h>. Several functions have macro versions
* defined in <code/mpm.h>.  */

These cross-references look like arguments to #include and may be confusing autoscan. But surely autoscan is stripping comments before doing anything else, isn't it?

I'm running on Mac OS X 10.4.6 and autoscan --version reports "autoscan (GNU Autoconf) 2.59". This copy of autoscan came with Mac OS X.

Richard Brooksby <address@hidden>  Senior Consultant
Ravenbrook Limited <http://www.ravenbrook.com/>
Voice: +44 777 9996245  Fax: +44 870 1641432
AIM: hothquist  Yahoo: gresque  Jabber: address@hidden
LinkedIn: <http://www.linkedin.com/in/richardbrooksby>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]