|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #47215] libgui compiler errors |
Date: | Thu, 25 Feb 2016 21:00:36 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0 |
Follow-up Comment #9, bug #47215 (project octave): The issue can also be fixed/worked around by adding #define QT_NO_DEBUG 1 to config.h for QT versions < 4.8 This requires config.h to be included in 6 more files. See attached diff_47215.txt This works because the QLOCATION macros in qobjectdefs.h are conditional on QT_NO_DEBUG #ifndef QT_NO_DEBUG # define QLOCATION " "__FILE__":"QTOSTRING(__LINE__) # define METHOD(a) qFlagLocation("0"#a QLOCATION) # define SLOT(a) qFlagLocation("1"#a QLOCATION) # define SIGNAL(a) qFlagLocation("2"#a QLOCATION) #else # define METHOD(a) "0"#a # define SLOT(a) "1"#a # define SIGNAL(a) "2"#a #endif (file #36464) _______________________________________________________ Additional Item Attachment: File name: diff_47215.txt Size:2 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47215> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |