From: Nobuyoshi Nakada Date: 2007-08-05T04:49:23+09:00 Subject: Re: C ext to Ruby interaction between a Module and a Class Hi, At Sat, 4 Aug 2007 22:39:22 +0900, Phlip wrote in [ruby-talk:263340]: > >> BUT i still have prob with "rb_require('raf/raliasfile');" : > >> //make => rosxutils.c:105: warning: passing argument 1 of rb_require > >> makes pointer from integer without a cast > > > > String literal in C must be enclosed with double-quotes, not > > single-quotes. Multiple characters inside single-quotes would > > be an OSX specific extension, perhaps inherited from old MacOS. > > It's not specifically an extension - it's a multiple byte character. The I meant it would not be defined by C89, C99 nor K&R. In C++, it is called as "multicharacter literal", but an implementation-defined feature. -- Nobu Nakada