fix FTBFS, error: ‘dup’ was not declared in this scope #94

Merged
MicheleC merged 1 commits from fix/dup_ftbfs into master 4 years ago
Ghost commented 4 years ago

I get FTBFS with this error:

../kimgio/jp2.cpp: In function ‘void kimgio_jp2_write(TQImageIO*)’:
../kimgio/jp2.cpp:249:31: error: ‘dup’ was not declared in this scope
  249 |   stream = jas_stream_fdopen( dup( qf->handle() ), "w" );
      |                               ^~~
../kimgio/jp2.cpp:253:31: error: ‘dup’ was not declared in this scope
  253 |   stream = jas_stream_fdopen( dup( ktempf->handle()), "w" );
      |                               ^~~
[2271/2828] Building CXX object kimgio/CMakeFiles/kimg_exr-module.dir/exr.cpp.o
I get FTBFS with this error: ``` ../kimgio/jp2.cpp: In function ‘void kimgio_jp2_write(TQImageIO*)’: ../kimgio/jp2.cpp:249:31: error: ‘dup’ was not declared in this scope 249 | stream = jas_stream_fdopen( dup( qf->handle() ), "w" ); | ^~~ ../kimgio/jp2.cpp:253:31: error: ‘dup’ was not declared in this scope 253 | stream = jas_stream_fdopen( dup( ktempf->handle()), "w" ); | ^~~ [2271/2828] Building CXX object kimgio/CMakeFiles/kimg_exr-module.dir/exr.cpp.o ```
MicheleC merged commit 88428d3b51 into master 4 years ago
MicheleC deleted branch fix/dup_ftbfs 4 years ago
Owner

I didn't have any FTBFS in Debian, but I guess it doesn't hurt to merge this since you were having the problem. Thanks!

I didn't have any FTBFS in Debian, but I guess it doesn't hurt to merge this since you were having the problem. Thanks!
MicheleC added this to the R14.0.9 release milestone 4 years ago
The pull request has been merged as 88428d3b51.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdelibs#94
Loading…
There is no content yet.