Fixed compilation errs on Gentoo Linux on behalf of CDim; see issue #632

This commit is contained in:
Oliver Duis
2011-04-15 07:37:11 +02:00
parent 397d93e5d8
commit 63533713bb
8 changed files with 16 additions and 0 deletions

View File

@@ -61,6 +61,8 @@
#define ARRAY2D_BYREFERENCE 4 #define ARRAY2D_BYREFERENCE 4
#define ARRAY2D_VERBOSE 8 #define ARRAY2D_VERBOSE 8
#include <cstring>
template<typename T> template<typename T>
class array2D { class array2D {

View File

@@ -27,6 +27,8 @@
#include <safegtk.h> #include <safegtk.h>
#include <options.h> #include <options.h>
#include <cstring>
namespace rtengine { namespace rtengine {
const double (*wprofiles[])[3] = {xyz_sRGB, xyz_adobe, xyz_prophoto, xyz_widegamut, xyz_bruce, xyz_beta, xyz_best}; const double (*wprofiles[])[3] = {xyz_sRGB, xyz_adobe, xyz_prophoto, xyz_widegamut, xyz_bruce, xyz_beta, xyz_best};

View File

@@ -25,6 +25,8 @@
#include <guiutils.h> #include <guiutils.h>
#include <safegtk.h> #include <safegtk.h>
#include <cstring>
using namespace rtengine; using namespace rtengine;
BatchQueue::BatchQueue () : processing(NULL), listener(NULL) { BatchQueue::BatchQueue () : processing(NULL), listener(NULL) {

View File

@@ -19,6 +19,8 @@
#include <batchqueueentry.h> #include <batchqueueentry.h>
#include <thumbbrowserbase.h> #include <thumbbrowserbase.h>
#include <cstring>
BatchQueueEntry::BatchQueueEntry (rtengine::ProcessingJob* pjob, const rtengine::procparams::ProcParams& pparams, Glib::ustring fname, guint8* previmg, int prevw, int prevh, Thumbnail* thumbnail) BatchQueueEntry::BatchQueueEntry (rtengine::ProcessingJob* pjob, const rtengine::procparams::ProcParams& pparams, Glib::ustring fname, guint8* previmg, int prevw, int prevh, Thumbnail* thumbnail)
: ThumbBrowserEntryBase(fname), : ThumbBrowserEntryBase(fname),
opreview(previmg), origpw(prevw), origph(prevh), thumbnail(thumbnail), opreview(previmg), origpw(prevw), origph(prevh), thumbnail(thumbnail),

View File

@@ -19,6 +19,8 @@
#include <crophandler.h> #include <crophandler.h>
#undef THREAD_PRIORITY_NORMAL #undef THREAD_PRIORITY_NORMAL
#include <cstring>
using namespace rtengine; using namespace rtengine;
CropHandler::CropHandler () CropHandler::CropHandler ()

View File

@@ -24,6 +24,8 @@
#include <multilangmgr.h> #include <multilangmgr.h>
#include <LUT.h> #include <LUT.h>
#include <cstring>
extern Glib::ustring argv0; extern Glib::ustring argv0;
DiagonalCurveEditor::DiagonalCurveEditor (Glib::ustring text, CurveEditorGroup* ceGroup, CurveEditorSubGroup* ceSubGroup) : CurveEditor::CurveEditor(text, (CurveEditorGroup*) ceGroup, ceSubGroup) { DiagonalCurveEditor::DiagonalCurveEditor (Glib::ustring text, CurveEditorGroup* ceGroup, CurveEditorSubGroup* ceSubGroup) : CurveEditor::CurveEditor(text, (CurveEditorGroup*) ceGroup, ceSubGroup) {

View File

@@ -24,6 +24,8 @@
#include <options.h> #include <options.h>
#include <safegtk.h> #include <safegtk.h>
#include <cstring>
#define CHECKTIME 5000 #define CHECKTIME 5000
extern Glib::ustring argv0; extern Glib::ustring argv0;

View File

@@ -23,6 +23,8 @@
#include <guiutils.h> #include <guiutils.h>
#include <safegtk.h> #include <safegtk.h>
#include <cstring>
#define CROPRESIZEBORDER 4 #define CROPRESIZEBORDER 4
bool FileBrowserEntry::iconsLoaded = false; bool FileBrowserEntry::iconsLoaded = false;