FLTK logo

Re: [fltk.general] line number in fluid's source view

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: line number in fluid's source view Christoph Dalitz May 02, 2006  
 
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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.