URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 826 |
/* PR 15236: pedantic switch modifies treatment of non-ISO compliant
|
/* PR 15236: pedantic switch modifies treatment of non-ISO compliant
|
enumerations. */
|
enumerations. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Wall -Wextra -pedantic-errors -Wconversion" } */
|
/* { dg-options "-Wall -Wextra -pedantic-errors -Wconversion" } */
|
typedef enum OMX_ERRORTYPE
|
typedef enum OMX_ERRORTYPE
|
{
|
{
|
OMX_ErrorNone = 0,
|
OMX_ErrorNone = 0,
|
OMX_ErrorInsufficientResources = 0x80001000 /* { dg-error "ISO C restricts enumerator values to range of .int." } */
|
OMX_ErrorInsufficientResources = 0x80001000 /* { dg-error "ISO C restricts enumerator values to range of .int." } */
|
} OMX_ERRORTYPE;
|
} OMX_ERRORTYPE;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.