Prev Previous Post   Next Post Next
Old 21st November 2005, 16:13   #1
Junior Member
Join Date: Aug 2005
Location: Montpellier, France
Posts: 17
compilation error of 2.11 on a debian 3.0

I have an old debian server 3.0 for a couple of month again
And I want to compile the new 2.11 version. my 2.09 compile without any problems.
I compile makensis like that:

I have the following error:
Source/Plugins.cpp: In function `size_t {anonymous}::file_size(ifstream &)':
Source/Plugins.cpp:50: parse error before `pos'
Source/Plugins.cpp:54: `pos_type' is not a member of type `ifstream'
Source/Plugins.cpp:54: parse error before `='
Source/Plugins.cpp:55: `result' undeclared (first use this function)
Source/Plugins.cpp:55: (Each undeclared identifier is reported only once
Source/Plugins.cpp:55: for each function it appears in.)
Source/Plugins.cpp:57: `pos' undeclared (first use this function)
Source/Plugins.cpp:60: warning: control reaches end of non-void function `{anonymous}::file_size(ifstream &)'
scons: *** [build/release/makensis/Plugins.o] Error 1

thats correspond on PLugins.cpp file to:
namespace {
size_t file_size(ifstream& file) {
const ifstream:os_type pos = file.tellg();
on this realy old debian, my gcc version is 2.95.3
It is the problem ?
Could it be fixed ?
I maybe could have a 3.04 version, but I can't be my default gcc compiler. So could I can set it with scons ?
If could be fix, it will be better
neotwix is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump