|
|
On Tue, 02 May 2006 08:32:14 -0400
"MacArthur, Ian \(SELEX\) \(UK\)" <ian.macarthur-xmadGBvRevyakBO8gow8eQ@public.gmane.org> wrote:
>
> > The above would be a nice feature for fluid to better follow up with
> > compiler output.
>
> How portable is the "#line" directive?
>
Occasionally I am using an embedded SQL preprocessor (ecpg from PostgreSQL),
which were unusable without the #line directive. Note that the #line directive
does not only allow to give a line number, but also a filename! As Postgres runs
on every major (and minor) platform, it seems that the #line directive is quit
universal.
As a workaround however, I would recommend not to enter any non trivial code
into fluid, but use fludi only for the GUI layout and add the "real" code in
a derived class kept in a separate source file.
Christoph
[ Direct Link to Message ] | |
|
| |