Re: Octave Coder __ A code generator and build system that converts Octave to C++

Carlo De Falco <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <[email protected]>
Hi,

Thanks for sharing this, sounds like a great project!


> Il giorno 4 giu 2020, alle ore 18:41, Hossein Sajjadi <[email protected]> ha scritto:
> 
> Any advice, feedback, bug report will be appreciated.


I tried to compile the attached very simple function pippo.m 
and compilation failed with the following error :

./pippo.cc:2194:53: error: cannot pass non-trivial object of type 'const std::string'
      (aka 'const basic_string<char, char_traits<char>, allocator<char> >') to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
              error("cannot find %s.oct>%s in %s ", file_name, fcn_name, path);
                                 ~~                 ^~~~~~~~~

also, as I am using clang++ the option '-gtoggle' that is hardcoded in all compiler commands is not understood and causes all invocations to the compiler to fail.

HTH,
c.
pippo.m (application/octet-stream, 51 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.