[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MXE mingw] "unknown type name 'int64_t'" with --enable-64 when comp
Re: [MXE mingw] "unknown type name 'int64_t'" with --enable-64 when compiling mex files
Mon, 25 Aug 2014 06:34:51 -0700 (PDT)
Jordi Gutiérrez Hermoso-2 wrote
> On Fri, 2014-08-22 at 09:55 -0700, Philip Nienhuis wrote:
>> unknown type name 'int64_t'
> These are part of the C and C++ standard:
> They're "new", so I guess some older compilers might still not have
> them, but more likely is that we just need to add some #includes.
Including <stdint> didn't help.
Some more googling turned up that "int64_t is not defined on MingW" (see
https://rt.cpan.org/Public/Bug/Display.html?id=82369, 1st answer). Don't
know how accurate / up-to-date this answer actually is.
But maybe the problems I hit are also related to the use of C rather than
I've replaced the .mex files (in C) by .oct files (in C++) and those get
compiled and do work fine; that said I didn't use int64_t there.
So my problem is solved.
Perhaps .oct files are more appropriate in OF packages than .mex files
View this message in context:
Sent from the Octave - Maintainers mailing list archive at Nabble.com.