octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #54389] warnings when building on Solaris


From: Rik
Subject: [Octave-bug-tracker] [bug #54389] warnings when building on Solaris
Date: Thu, 26 Jul 2018 14:46:08 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #1, bug #54389 (project octave):

The first one seems like a problem with either gcc or cpp expansion.

In fpucw-wrappers.c the code is


void
octave_end_long_double_rounding (unsigned int oldcw)
{
  END_LONG_DOUBLE_ROUNDING ();
}


So the parameter oldcw isn't used per se.  But if you look at
gnulib/lib/fpucw.h there is a definition for END_LONG_DOUBLE_ROUNDING which
is


# define END_LONG_DOUBLE_ROUNDING() \
  SET_FPUCW (oldcw)


so oldcw is getting used.  Maybe the fact that SET_FPUCW is in turn a macro is
causing problems in that it isn't fully expanding all macros before passing
the results to gcc.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54389>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]