help-octave
[Top][All Lists]
Advanced

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

Re: Casting from an Octave int value to a pointer.


From: mpender
Subject: Re: Casting from an Octave int value to a pointer.
Date: Tue, 21 Jan 2014 19:03:05 -0800 (PST)

I'm very sorry, I cut and pasted an older error message set.  The error
message set for this version of freetest.cc should be:

mkoctfile freetest.cc
freetest.cc: In function ‘octave_value_list Ffreetest(const
octave_value_list&, int)’:
freetest.cc:19:16: error: conversion from ‘const octave_uint32 {aka const
octave_int<unsigned int>}’ to ‘long unsigned int’ is ambiguous
freetest.cc:14:30: note: candidates are:
/usr/include/octave-3.2.4/octave/oct-inttypes.h:816:3: note:
octave_int<T>::operator float() const [with T = unsigned int]
/usr/include/octave-3.2.4/octave/oct-inttypes.h:814:3: note:
octave_int<T>::operator double() const [with T = unsigned int]
/usr/include/octave-3.2.4/octave/oct-inttypes.h:810:3: note:
octave_int<T>::operator T() const [with T = unsigned int]





--
View this message in context: 
http://octave.1599824.n4.nabble.com/Casting-from-an-Octave-int-value-to-a-pointer-tp4661233p4661237.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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