Date: Wed, 26 Feb 2020 20:45:57 +0100 (CET) From: Wojciech Puchar <wojtek@puchar.net> To: freebsd-hackers@freebsd.org Subject: FreeBSD raspberry pi C compiler strangeness Message-ID: <alpine.BSF.2.20.2002262043150.32598@puchar.net>
next in thread | raw e-mail | index | archive | help
i wrote my program and tested completely my program on x64 laptop under FreeBSD 11 then i compiled this program under FreeBSD on raspberry pi (quite latest version downloaded less than 2 months ago). And program didn't work properly. Finally i found a problem. char is signed by default on x64. On raspberry pi char is unsigned by default. replacing "char" with "signed char" fixed problem completely. Why char is unsigned on FreeBSD/raspberry pi?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.2002262043150.32598>