This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Portability issues


On Sep 12, 2000, Tom Tromey <tromey@cygnus.com> wrote:

Alexandre> This patch fixes some build problems I found on FreeBSD and
Alexandre> Solaris/x86.  Ok to install?

> This is fine.

Alexandre> -extern "C" double __ieee754_fmod __P((double,double));
Alexandre> +extern "C" double __ieee754_fmod (double,double);

> What is this change for?

__P wasn't defined on Solaris/x86, when compiling C++.  Prototypes are
Standard C++, so we don't need this kind of trick.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]