Changeset 1d00acb1 in rtems


Ignore:
Timestamp:
Jun 28, 2018, 8:37:17 PM (11 months ago)
Author:
dab <dab@…>
Branches:
master
Children:
96b32773
Parents:
b37ef68
git-author:
dab <dab@…> (06/28/18 20:37:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/08/18 06:15:17)
Message:

Fix compilation error in r335765 under gcc 4.2.1.

The anonymous object initialization introduced in r335765 was
acceptable to clang, but not gcc 4.2.1. Fix it for both.

Reported by: jhibbits@
Pointy Hat: myself
MFC after: 1 week
X-MFC-with: r335765
Sponsored by: Dell EMC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/sys/event.h

    rb37ef68 r1d00acb1  
    5959        .data = (e),                            \
    6060        .udata = (f),                           \
    61         .ext[0] = 0,                            \
    62         .ext[1] = 0,                            \
    63         .ext[2] = 0,                            \
    64         .ext[3] = 0,                            \
     61        .ext = {0},                             \
    6562    };                                          \
    6663} while(0)
Note: See TracChangeset for help on using the changeset viewer.