Ignore:
Timestamp:
2018-07-06T20:06:58Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e89a06a
Parents:
da680b4b
git-author:
Jakub Jermar <jakub@…> (2018-07-06 20:05:27)
git-committer:
Jakub Jermar <jakub@…> (2018-07-06 20:06:58)
Message:

Don't use GCC C extension in -std=c++17 code

Pointer arithmetics on void * is a GCC C extension not supported in
standard-obedient modes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ppc32/include/libarch/tls.h

    rda680b4b r6419c6e  
    4646static inline void __tcb_set(tcb_t *tcb)
    4747{
    48         void *tp = tcb;
     48        char *tp = (char *) tcb;
    4949        tp += PPC_TP_OFFSET + sizeof(tcb_t);
    5050
     
    5858static inline tcb_t *__tcb_get(void)
    5959{
    60         void *retval;
     60        char *retval;
    6161
    6262        asm volatile (
Note: See TracChangeset for help on using the changeset viewer.