Re: [PATCH 1/2] Fix duplicated __strchrnul() declaration error on OS/2 kLIBC

2022-11-14 Thread KO Myung-Hun
Hi/2. Paul Smith wrote: > On Wed, 2022-11-09 at 22:45 +0900, KO Myung-Hun wrote: >> OS/2 kLIBC has __strchrnul(). But HAVE___STRCHRNUL is undefined. >> 'static' declarion of __strchrnul() causes an error with gcc4 because >> OS/2 kLIBC declares __strchrnul() as public. > > I assume kLIBC is a lib

Re: [PATCH 1/2] Fix duplicated __strchrnul() declaration error on OS/2 kLIBC

2022-11-13 Thread Paul Smith
On Wed, 2022-11-09 at 22:45 +0900, KO Myung-Hun wrote: > OS/2 kLIBC has __strchrnul(). But HAVE___STRCHRNUL is undefined. > 'static' declarion of __strchrnul() causes an error with gcc4 because > OS/2 kLIBC declares __strchrnul() as public. I assume kLIBC is a libc implementation for OS/2? I'm no

[PATCH 1/2] Fix duplicated __strchrnul() declaration error on OS/2 kLIBC

2022-11-09 Thread KO Myung-Hun
OS/2 kLIBC has __strchrnul(). But HAVE___STRCHRNUL is undefined. 'static' declarion of __strchrnul() causes an error with gcc4 because OS/2 kLIBC declares __strchrnul() as public. - gcc -DHAVE_CONFIG_H -I. -I../src -D__ST_MT_ERRNO__ -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign