Web lists-archives.com

Re: ssize_t




On 22/12/2016 21:19, Eric Blake wrote:
On 12/22/2016 02:14 PM, Eric Blake wrote:

ssize_t.c:115:22: error: expected expression before ‘)’ token
 if (sizeof ((ssize_t)))
                      ^

That's probably SUPPOSED to happen.

Autoconf tests for type names by comparing:

adding [] in few points solved the issue.
-AC_CHECK_SIZEOF(ssize_t)
+AC_CHECK_SIZEOF([ssize_t])

Thanks
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple