|
From: | Michael Goffioul |
Subject: | Re: MOC and config.h? |
Date: | Sun, 28 Apr 2013 23:37:57 -0400 |
We've just been avoiding the problem.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.
Does the following change work for you?
http://hg.savannah.gnu.org/hgweb/octave/rev/02a90cb9d79f
[Prev in Thread] | Current Thread | [Next in Thread] |