Changeset 3ddc586 in mainline for uspace/lib/c/generic/rtld/symbol.c


Ignore:
Timestamp:
2023-08-04T09:19:45Z (18 months ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
ticket/834-toolchain-update
Children:
4dbcdf3
Parents:
0989bc4
Message:

Guard pragmas with compiler version checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/rtld/symbol.c

    r0989bc4 r3ddc586  
    147147        start->bfs_tag = true;
    148148#pragma GCC diagnostic push
     149#if defined(__GNUC__) && (__GNUC__ >= 12)
    149150#pragma GCC diagnostic ignored "-Wdangling-pointer"
     151#endif
    150152        list_append(&start->queue_link, &queue);
    151153#pragma GCC diagnostic pop
Note: See TracChangeset for help on using the changeset viewer.