[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47215] libgui compiler errors
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #47215] libgui compiler errors |
Date: |
Mon, 22 Feb 2016 20:30:00 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0 |
Follow-up Comment #2, bug #47215 (project octave):
building from a clean state does not help.
I'm near certain the build environment didn't change.
For the record: the error message can be reproduced with this,
where SIGNAL2 is a trimmed down version of SIGNAL macro
cat > yy.cpp <<HERE
#define QLOCATION " "__FILE__":"QTOSTRING(__LINE__)
// #define SIGNAL(a) qFlagLocation("2"#a QLOCATION)
#define SIGNAL2(a) ("2"#a QLOCATION)
#include <stdio.h>
int func(int a) {
fprintf(2, "%s", SIGNAL2(1));
}
HERE
g++ -c -std=gnu++11 yy.cpp
yy.cpp: In function 'int func(int)':
yy.cpp:7:19: error: inconsistent user-defined literal suffixes '__FILE__' and
'QTOSTRING' in string literal
yy.cpp:7:19: error: unable to find string literal operator 'operator""
__FILE__'
dusk.ad.intra{/scratch/aburgers/octave/x86_64 }223:
The QLOCATION and SIGNAL macros are picked up somewhere in the preprocessing
stage during compilation of in this case
libgui/qterminal/libqterminal/unix/Emulation.cpp
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47215>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, anonymous, 2016/02/21
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, Mike Miller, 2016/02/21
- [Octave-bug-tracker] [bug #47215] libgui compiler errors,
anonymous <=
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, Mike Miller, 2016/02/22
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, Mike Miller, 2016/02/22
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, anonymous, 2016/02/23
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, anonymous, 2016/02/23
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, anonymous, 2016/02/23
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, Mike Miller, 2016/02/23
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, anonymous, 2016/02/25
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, Mike Miller, 2016/02/25
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, anonymous, 2016/02/25
- [Octave-bug-tracker] [bug #47215] libgui compiler errors, Mike Miller, 2016/02/26