help-octave
[Top][All Lists]
Advanced

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

Re: octave build issue -- error in fltk-backend.


From: John W. Eaton
Subject: Re: octave build issue -- error in fltk-backend.
Date: Thu, 4 Nov 2010 14:50:37 -0400

On  4-Nov-2010, Jordi GutiƩrrez Hermoso wrote:

| I wish we could minimise them within Octave proper too. For the most
| part, they are scarce, and I see that it's common practice to #undef
| macros after they've served their purpose. I can see some places where
| C++ constructs like namespaces or templates could replace macro use,
| but people often find that harder to understand than a macro.
| Thoughts?

I'd be happy to eliminate any macros that can cause trouble as long as
the solution is not worse than the problems caused by the macros.

In defense of the use of macros in Octave, it originated before C++
had templates or namespaces...

jwe



reply via email to

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