[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File extensions to use pre-processing C source?
From: |
Raphael 'kena' Poss |
Subject: |
Re: File extensions to use pre-processing C source? |
Date: |
Sat, 26 Apr 2014 08:44:32 +0200 |
Hi Daniel,
the two issues are the following:
1. CPP includes a C header where there is some m4 code to expand, and *m4*
finds an error. Then m4 typically will not report its error message using the C
header name.
2. m4 expands a multi-line macro, then the resulting C code contains an error.
Then gcc will become confused about line numbers.
At least those were the issues when I was working on this. Maybe they have been
fixed since?
Best regards,
--
Raphael 'kena' Poss ยท address@hidden
http://staff.science.uva.nl/~poss/