What's going on is that I am using autoconf's AC_C_INLINE to make sure
that, if "inline" does not exist natively, that it is defined to a
substitute ("__inline__") if possible. If there's just no way the
compiler does inlining, then AC_C_INLINE defines "inline" as null.
AC_C_INLINE's "fix" goes into a header named "config.h". (On some
systems Marpa uses Config::AutoConf, which Jean-Damien set up for me,
instead of GNU's autoconf, to accomplish the same thing.)
My mistake (I believe) was very simple: I did include "config.h" in one
place where it was needed.
-- jeffrey
On 01/01/2014 07:10 AM, Ruslan Shvedov wrote:
On Wed, Jan 1, 2014 at 3:41 PM, Jeffrey Kegler
<[email protected]
<mailto:[email protected]>> wrote:
I think I've identified this issue. The "inline" keyword is not
provided natively by the Windows compiler, and is not being
defined correctly by Marpa because I'm not including autoconf's
"config.h" where I should.
Looks like /inline/ is missing from c90 [1] and is supported by GNU C
[2] and MS C [3] via alternate keywords.
I'll attempt a fix in the next developer's release.
Great, I'd be happy to help with testing.
[1]
http://stackoverflow.com/questions/12151168/does-ansi-c-not-know-the-inline-keyword
6.7.4 Function specifiers —
http://www.coding-guidelines.com/cbook/c90c++.pdf
[2] http://gcc.gnu.org/onlinedocs/gcc/Inline.html
[3]
http://en.wikipedia.org/wiki/Inline_function#Microsoft_Visual_C.2B.2B_specific
-- jeffrey
On 01/01/2014 03:14 AM, Ruslan Shvedov wrote:
Everything's ok on cygwin; compile error on windows (cl
13.10.3077 <tel:13.10.3077>, .net 2003).
--
You received this message because you are subscribed to the Google
Groups "marpa parser" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:marpa-parser%[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google
Groups "marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "marpa
parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.