|
From: | John W. Eaton |
Subject: | Re: MOC and config.h? |
Date: | Sun, 28 Apr 2013 01:50:48 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 |
On 04/28/2013 12:03 AM, Michael Goffioul wrote:
I know the problem already occurred previously. As MOC files do not include config.h, compilation problems can occur because of undefined CPP macros. What was the recommended way to work around the problem again? For reference, the problem I have is that I had to decorate octave_link class with OCTINTERP_API, but this makes MOC files from main-window.h and octave-qt-link.h to fail to compile.
We've just been avoiding the problem. Does the following change work for you? http://hg.savannah.gnu.org/hgweb/octave/rev/02a90cb9d79f jwe
[Prev in Thread] | Current Thread | [Next in Thread] |