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

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

[Octave-bug-tracker] [bug #46927] build fail in gl2ps-renderer.cc


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #46927] build fail in gl2ps-renderer.cc
Date: Mon, 18 Jan 2016 08:56:42 +0000
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?46927>

                 Summary: build fail in gl2ps-renderer.cc
                 Project: GNU Octave
            Submitted by: godfrey
            Submitted on: Mon 18 Jan 2016 08:56:41 AM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Godfrey
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

At line 98: gnulib::ftruncate (fileno (tmpf), 0);
causes:
libinterp/corefcn/gl2ps-renderer.cc:98:11: error: ‘ftruncate’ is not a
member of ‘gnulib’
           gnulib::ftruncate (fileno (tmpf), 0);
           ^
libinterp/corefcn/gl2ps-renderer.cc:98:11: note: suggested alternative:
In file included from ./libgnu/unistd.h:40:0,
                 from libinterp/corefcn/gl2ps-renderer.cc:41:
/usr/include/unistd.h:1019:12: note:   ‘ftruncate’
 extern int ftruncate (int __fd, __off_t __length) __THROW __wur;

Removing the gnulib:: fixes the problem as the diagnostic
suggests.

This is on Fedora 23





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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