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

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

[Octave-bug-tracker] [bug #44186] print command gives incorrect postscri


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #44186] print command gives incorrect postscript file
Date: Sun, 15 Feb 2015 15:30:57 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Follow-up Comment #35, bug #44186 (project octave):

No O_BINARY appears in the logs, however usr/i686-w64-mingw32/include/fcntl.h
has a #define in it

Looking at some warnings from the compile that may be clues:



./base/gp_unifs.c:37:0: warning: "ftello" redefined
 #define ftello ftell
 ^
In file included from ./base/std.h:158:0,
                 from ./base/stdio_.h:26,
                 from ./base/gp_unifs.c:22:
/home/jade/mxe-octave/usr/i686-w64-mingw32/include/stdio.h:480:0: note: this
is the location of the previous definition
 #define ftello ftello64
 ^
./base/gp_unifs.c:38:0: warning: "fseeko" redefined
 #define fseeko fseek
 ^
In file included from ./base/std.h:158:0,
                 from ./base/stdio_.h:26,
                 from ./base/gp_unifs.c:22:
/home/jade/mxe-octave/usr/i686-w64-mingw32/include/stdio.h:468:0: note: this
is the location of the previous definition
 #define fseeko fseeko64




So it is calling the unix sources rather than anything from the VC++/DOS
win32.

Also:


/home/jade/mxe-octave/usr/bin/i686-w64-mingw32-gcc  -DHAVE_FILE64 
-DHAVE_SETLOCALE -DHAVE_BSWAP32  -DHAVE_STRERROR -O -Wall -Wstrict-prototypes
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common
-DHAVE_STDINT_H=2 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_INTTYPES_H=1
-DGX_COLOR_INDEX_TYPE="unsigned long long" -DNOCONTRIB -DUSE_LIBICONV_GNU
-DGS_NO_UTF8=1   -I./obj -I./base -I./devices  -DWHICH_CMS="lcms2" -o
./obj/gdevpipe.o -c ./base/gdevpipe.c
In file included from ./base/gdevpipe.c:19:0:
./base/pipe_.h:41:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
 extern FILE *popen( /* const char *, const char * */ );
 ^
In file included from ./base/std.h:158:0,
                 from ./base/errno_.h:22,
                 from ./base/gdevpipe.c:18:
./base/pipe_.h:41:14: warning: '_popen' redeclared without dllimport
attribute: previous dllimport ignored [-Wattributes]
 extern FILE *popen( /* const char *, const char * */ );
              ^
./base/pipe_.h:42:12: warning: '_pclose' redeclared without dllimport
attribute: previous dllimport ignored [-Wattributes]
 extern int pclose(FILE *);
            ^





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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