Re: Signedness of char and puts()

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

 



On Fri, Mar 28, 2008 at 4:13 PM, Eljay Love-Jensen <eljay@xxxxxxxxx> wrote:
>
>  > Does anyone know why this occurs?
>
>  "Hello" is a char*, not an unsigned char* or signed char*.
>
>  (In C++ "Hello" is a char const*.)
>

( Actually, to be pedantic, it's a char const [6] in C++.  Normally
this doesn't matter, but someone just yesterday found a bug in
libstdc++ caused by it, so you never know. )

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux