Changeset 9475faf in mainline


Ignore:
Timestamp:
2018-07-05T21:41:20Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3a06cc6
Parents:
d93f01a6
git-author:
Dzejrou <dzejrou@…> (2018-04-08 18:38:34)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
Message:

cpp: undefined restrict as per standard requirements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/internal/common.hpp

    rd93f01a6 r9475faf  
    33
    44/**
    5  * The restrict keyword is not part of the
    6  * C++ standard, but g++ supports __restrict__,
    7  * this might cause problems with other compilers
    8  * like clang.
    9  * TODO: Test this.
     5 * According to section 17.2 of the standard,
     6 * the restrict qualifier shall be omitted.
    107 */
    11 #define restrict __restrict__
     8#define restrict
    129
    1310#undef NULL
Note: See TracChangeset for help on using the changeset viewer.