Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 2.0.1
-
None
-
Linux desktop
Description
we have of C-structure with some AllocBlockParams_t type
Editor have red underscore and inform me about syntax error
replacing form from:
to:
{ x : y } has no effect too
GCC done without any errors and warnings
int avmem_alloc_buffer(BufferDescr_t* Buffer_p, unsigned size, unsigned alignment, unsigned partition)
{
int ErrCode;
AllocBlockParams_t AllocBlockParams =
{ .PartitionHandle = partition, .Size = size, .Alignment = alignment, .AllocMode = ALLOC_MODE_BOTTOM_TOP, .NumberOfForbiddenRanges = 0, .ForbiddenRangeArray_p = NULL, .NumberOfForbiddenBorders = 0, .ForbiddenBorderArray_p = NULL, };
...
}
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-1902 Syntax checker does not understand C99 initializer lists
- Closed