pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48070: The printf width specifier z should be used to format that type(MISSING_SIZE_T_SUPPORT)



 Konnichiwa!

 Thank you for your mail!

Please add OSF/1 to your Change list.

=================================================================================================================================================

uname -a OSF1 V5.1 2650 alpha

>cat test.c
#include <stdio.h>

int main(void){
    char c;
    printf("%zu, %zu", sizeof c, sizeof (int));
    return 0;
}

> cc test.c
cc: Warning: test.c, line 5: In this statement, this argument to printf has a conversion specification "%zu" that is not supported or not fully supported on this platform. (unsupconvspec)
    printf("%zu, %zu", sizeof c, sizeof (int));
---------------------------^
cc: Warning: test.c, line 5: In this statement, this argument to printf has a conversion specification "%zu" that is not supported or not fully supported on this platform. (unsupconvspec)
    printf("%zu, %zu", sizeof c, sizeof (int));
-------------------------------------^
> ./a.out
zu, zu>

===================================================================================================================================================

That's very nice of you!
--
Naruaki Etomi / nullnilaki%gmail.com@localhost




Home | Main Index | Thread Index | Old Index