Changeset 6d1790c


Ignore:
Timestamp:
Nov 30, 2020, 5:13:03 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
5936244
Parents:
41c19b4
Message:

Fixed some warnings in libcfa

Location:
libcfa/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/locks.hfa

    r41c19b4 r6d1790c  
    178178                }
    179179
    180                 void ^?{}(single_sem & this) {}
     180                void ^?{}(single_sem &) {}
    181181
    182182                bool wait(single_sem & this) {
     
    234234                }
    235235
    236                 void ^?{}(oneshot & this) {}
     236                void ^?{}(oneshot &) {}
    237237
    238238                // Wait for the post, return immidiately if it already happened.
     
    281281                }
    282282
    283                 void ^?{}(future_t & this) {}
     283                void ^?{}(future_t &) {}
    284284
    285285                // check if the future is available
  • libcfa/src/concurrency/iofwd.hfa

    r41c19b4 r6d1790c  
    3838        #define CFA_IO_ASYNC IOSQE_ASYNC
    3939#endif
     40
     41#if __OFF_T_MATCHES_OFF64_T
     42        typedef __off64_t off_t;
     43#else
     44        typedef __off_t off_t;
     45#endif
     46typedef __off64_t off64_t;
    4047
    4148struct cluster;
  • libcfa/src/concurrency/kernel.hfa

    r41c19b4 r6d1790c  
    159159
    160160static inline void  ?{}(io_cancellation & this) { this.target = -1u; }
    161 static inline void ^?{}(io_cancellation & this) {}
     161static inline void ^?{}(io_cancellation &) {}
    162162bool cancel(io_cancellation & this);
    163163
Note: See TracChangeset for help on using the changeset viewer.