Changeset 70c34fb in rtems


Ignore:
Timestamp:
Jan 23, 2021, 7:01:43 PM (6 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c709017
Parents:
c45da42
git-author:
Sebastian Huber <sebastian.huber@…> (01/23/21 19:01:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/23/21 19:03:56)
Message:

splinkersets01: Fix declaration

GCC 11 produced warnings like this:

items.c:21:1: warning: ignoring attribute
'section (".rtemsrwset.test_rw.content.0.1")' because it conflicts with
previous 'section (".rtemsrwset.test_rw.content.1")' [-Wattributes]

items.c:23:1: warning: ignoring attribute
'section (".rtemsroset.test_ro.content.0.OC")' because it conflicts with
previous 'section (".rtemsroset.test_ro.content.1")' [-Wattributes]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/splinkersets01/splinkersets01.h

    rc45da42 r70c34fb  
    3434RTEMS_LINKER_ROSET_DECLARE(test_content_ro, char);
    3535
    36 RTEMS_LINKER_RWSET_ITEM_DECLARE(test_rw, const int *, a1);
     36RTEMS_LINKER_RWSET_ITEM_ORDERED_DECLARE(test_rw, const int *, a1, 1);
    3737
    38 RTEMS_LINKER_ROSET_ITEM_DECLARE(test_ro, const int *, ca2);
     38RTEMS_LINKER_ROSET_ITEM_ORDERED_DECLARE(test_ro, const int *, ca2, OC);
    3939
    4040RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern int content_rw_1);
Note: See TracChangeset for help on using the changeset viewer.