Skip to content

invalid operands of types ‘pthread_t {aka long unsigned int}’ and ‘std::nullptr_t’ to binary ‘operator!=’ #49

@HerbertKoelman

Description

@HerbertKoelman

g++ -x c++ -std=c++11 -frtti -I ../include -I ./ -c thread.cpp
thread.cpp: Dans la fonction membre ‘void* pthread::thread::join()’:
thread.cpp:33:21: erreur : invalid operands of types ‘pthread_t {aka long unsigned int}’ and ‘std::nullptr_t’ to binary ‘operator!=’
if ( _thread != nullptr){

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions