http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24420
Bastien ROUCARIES changed:
What|Removed |Added
CC||roucaries.bastien+bugs at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361
--- Comment #3 from Bastien ROUCARIES
2012-05-21 21:19:35 UTC ---
bastien@bastien-debian:/tmp$ cat test.c
#include
void function(std::array a)
{
}
int main()
{
// ok
std::array vec {0, 0, 0};
// error: could not convert '{"hello", "world"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361
Bug #: 53361
Summary: Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35827
Bastien ROUCARIES changed:
What|Removed |Added
CC||roucaries.bastien+bugs at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41209
Bastien ROUCARIES changed:
What|Removed |Added
CC||roucaries.bastien+bugs at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
--- Comment #8 from Bastien ROUCARIES
2011-06-10 10:14:06 UTC ---
Any news of this bug ?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
--- Comment #7 from Bastien ROUCARIES
2011-02-04 09:41:04 UTC ---
Sorry replace the last linux by cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
--- Comment #6 from Bastien ROUCARIES
2011-02-04 09:39:02 UTC ---
I have checked with gcc -E the following program:
typedef __WCHAR_TYPE__ wchar_t;
under linux it output typedef int wchar_t
under linux with -fno-short-char it output typedef int
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
--- Comment #5 from Bastien ROUCARIES
2011-02-04 09:25:36 UTC ---
ok thanks it is defined in the header and in this case they are two bugs.
Try the following program
#include
typedef __WCHAR_TYPE__ wchar_t;
wchar_t a[] = L"aa";
int s = sizeof
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
--- Comment #3 from Bastien ROUCARIES
2011-02-04 08:27:40 UTC ---
BTW i have checked the source code, and if my memory is correct wchar_t is
defined as
MODIFIED_WCHAR_T = fshortwchar ? "Short int" : WCHAR_T
Where wchar_t is defined by the archit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
--- Comment #2 from Bastien ROUCARIES
2011-02-04 08:21:20 UTC ---
I disagree
wchar_t is a building type. Indeed L"aa" should expand to 16 bits packed char
with short wchar and 32 bits with no-short-wchar.
Due to the LNaaN constant specification
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599
Summary: -fno-short-wchar does not force long wchar
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassig..
12 matches
Mail list logo