Hello Lixiaokeng,
On Mi, 2021-08-11 at 21:11 +0800, lixiaokeng wrote:
> There is an error when complie with glibc-2.34:
> comparison of integer expressions of different signedness:
> 'size_t' {aka 'long unsigned int'} and 'long int'
> [-Werror=sign-compare]
>
> The reason is that PTHREAD_STACK_MI
On 2021/8/12 19:17, Martin Wilck wrote:
> Hello Lixiaokeng,
>
> On Mi, 2021-08-11 at 21:11 +0800, lixiaokeng wrote:
>> There is an error when complie with glibc-2.34:
>> comparison of integer expressions of different signedness:
>> 'size_t' {aka 'long unsigned int'} and 'long int'
>> [-Werror=s
There is an error when complie with glibc-2.34:
comparison of integer expressions of different signedness:
'size_t' {aka 'long unsigned int'} and 'long int'
[-Werror=sign-compare]
The reason is that PTHREAD_STACK_MIN may be defined
long int which is signed in glibc-2.34+. Explicitly assign
it to