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

packjpg packaging: C++ help needed



Hi,

I stumbled upon unfinished packaging for packjpg in collab-maint SVN[1].
I intended to save the current packaging state to Git before SVN will be
closed down and consiered pkg-phototools a better place than
collab-maint.  So I updated the packaging to latest upstream and pushed
the packaging to Git[2].

When trying to build[2] I stumbled upon

...
g++ -c -o aricoder.o aricoder.cpp -I. -O3 -Wall -pedantic -funroll-loops -ffast-math -fsched-spec-load -fomit-frame-pointer -std=c++14 -DUNIX
packjpg.cpp: In function 'bool pack_pjg()':
packjpg.cpp:3312:22: error: 'class Writer' has no member named 'getpos'
  dev_size = str_out->getpos();^M
                      ^~~~~~
packjpg.cpp:3314:27: error: 'class Writer' has no member named 'getpos'
  dev_size_hdr += str_out->getpos() - dev_size;^M
                           ^~~~~~
packjpg.cpp:3340:23: error: 'class Writer' has no member named 'getpos'
   dev_size = str_out->getpos();^M
                       ^~~~~~
packjpg.cpp:3343:35: error: 'class Writer' has no member named 'getpos'
   dev_size_zsr[ cmp ] += str_out->getpos() - dev_size;^M
                                   ^~~~~~
packjpg.cpp:3344:23: error: 'class Writer' has no member named 'getpos'
   dev_size = str_out->getpos();^M
                       ^~~~~~
...


Unfortunately I have no idea how to fix this.  Any hints?

Kind regards

        Andreas.

[1] https://anonscm.debian.org/viewvc/collab-maint/deb-maint/packjpg/
[2] https://anonscm.debian.org/cgit/pkg-phototools/packjpg.git

-- 
http://fam-tille.de


Reply to: