Changeset 7ea7605d 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:
da0cf6ac
Parents:
2be40c81
git-author:
Dzejrou <dzejrou@…> (2018-03-30 12:36:39)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
Message:

cpp: fixed a compilation fails caused by defined static_assert macro in libc (complains about incorrent argument count)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/assert.h

    r2be40c81 r7ea7605d  
    4141#define LIBC_ASSERT_H_
    4242
     43#ifndef __cplusplus
    4344#define static_assert(expr)     _Static_assert(expr, "")
     45#endif
    4446
    4547extern void __helenos_assert_abort(const char *, const char *, unsigned int)
Note: See TracChangeset for help on using the changeset viewer.