Project

General

Profile

Actions

Feature #255

open

static functions in dcmimgle/diinpxt.h, dcmimgle/discalet.h

Added by Jörg Riesmeier almost 19 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Module:
dcmimgle
Operating System:
Compiler:

Description

I am compiling DCMTK 3.5.4 on AIX using xlC_r as my C++ compiler.
It is complaining about static non-templated functions called using
template types. Apparently, if a call to a function contains arguments
whose types come from a template, the called function must be static.

I fixed this issue in my case by commenting out the "static" from
the "expandSign" and "getPixelData" function declarations in
dcmimgle/diinpxt.h, and from "setScaleValues" in dcmimgle/discalet.h.

I posted this in case this is useful to others, and would appreciate
it if this (or an alternative fix) is released in the next version. Thanks!

http://forum.dcmtk.org/viewtopic.php?t=974

=== Kommentar JR ===

Vielleicht verschiebt man die betreffenden globalen Funktionen einfach in die entsprechende Klasse (static private methods).

No data to display

Actions

Also available in: Atom PDF