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

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

[Octave-bug-tracker] [bug #53544] -Wclass-memaccess warnings


From: Rik
Subject: [Octave-bug-tracker] [bug #53544] -Wclass-memaccess warnings
Date: Mon, 2 Apr 2018 11:43:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

I'm not sure how to address this.  The compiler seems to be complaining that
Octave is not doing type safe operations, but that is precisely the point of
typecast.

Maybe there is a way out of this by changing this


  T *dest = retval.fortran_vec ();


to be a pointer to void so that the compiler simply can't check whether the
types match.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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