-
Thanks for reporting it and for the testfile.
Quoting authors of the gzstream wrapper the is used to implement /COMPRESS keyword (http://www.cs.unc.edu/Research/compgeom/gzstream/):
... What's Missing: - Seek. The zlib library provides the necessary functionality, but we have not realized that in the wrapper (yet? ;-)...
So, that would probably be the starting point to fix it...
2009-11-11 13:37:43 UTC by slayoo
-
Hello,
In case you're compiling using gcc 4.4 this might help:
http://gnudatalanguage.cvs.sourceforge.net/viewvc/gnudatalanguage/gdl/src/antlr/CharScanner.hpp?r1=1.2&r2=1.3
(ie. try adding #include in the CharScanner.hpp file)
Sylwester.
2009-11-11 13:08:17 UTC by slayoo
-
Hi, everyone. After running ./configure probably 20 times, it looks like I've finally installed all the required libraries. Now I type "make" and get the following output at the end:
In file included from CharScanner.cpp:10:
../../src/antlr/CharScanner.hpp:452: error: ‘EOF’ was not declared in this scope
make[3]: *** [libantlr_a-CharScanner.o] Error 1
make[3]:
2009-11-11 13:00:02 UTC by https://www.google.com/accounts
-
slayoo committed patchset 1002 of module gdl to the GDL - GNU Data Language CVS repository, changing 1 files.
2009-11-11 12:24:40 UTC by slayoo
-
GDL>
$echo blabla > testfile.txt
line=''
openr,gfile,'testfile.txt',/get_lun
readf, gfile, line
PRINT, EOF(gfile)
;; GDL returns 0, while IDL returns the correct value, 1.
2009-11-11 03:05:14 UTC by nobody
-
GDL>
streg="([a-z]+://)?([^/\:?]+\.[^/\:?]+)?(:[0-9]+)?(/?[^#?]+)?(\?[^#]+)?(#.+)?"
PRINT, STREGEX("bla.vla",streg,/SUB,/EXTRA)
InterpreterLoop: Exception: basic_string::substr
(works fine on IDL)
2009-11-11 01:56:32 UTC by nobody
-
Dito :-)
2009-11-09 23:32:16 UTC by m_schellens
-
m_schellens committed patchset 1001 of module gdl to the GDL - GNU Data Language CVS repository, changing 4 files.
2009-11-09 23:26:32 UTC by m_schellens
-
When a file is opened with
openr, /COMPRESS, lun, file, /get_lun
then
point_lun, lun, 0L
which should rewind the file, is ineffectual, whether or not the file is actually compressed.
On the other hand
openr, lun, file, /get_lun
point_lun, lun, 0L
works fine.
An example is enclosed.
2009-11-09 16:34:35 UTC by hivon
-
Some other examples:
GDL> $cat bug.pro
pro bug
message, 'should fail on line 3 but...', /conti
print, *a
end
GDL> bug
% BUG: should fail on line 3 but...
% BUG: Variable is undefined: A
% Execution halted at: BUG 1 bug.pro
GDL> $cat bug.pro
pro bug
message, 'should fail on line 3 but...', /conti
print, *(ptr_new())
end
GDL> bug
% BUG: should fail...
2009-11-09 12:32:25 UTC by slayoo