|
From: | Antonio Diaz Diaz |
Subject: | [Adcd-bug] Re: Cannot compile ADCD 0.9 |
Date: | Tue, 03 Nov 2009 12:13:55 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello, Zbigniew <address@hidden> wrote:
Tried today to compile ADCD 0.9 - unfortunately, it failed, complaining: #v+ g++ -Wall -W -O2 -DPROGVERSION=\"0.9\" -c -o main.o main.cc main.cc: In function 'int main(int, const char**)': main.cc:146: error: 'strtol' is not a member of 'std' main.cc:154: error: 'strtol' is not a member of 'std' make: *** [main.o] Error 1 Compile: ADCD 0.9 - Build process failed. #v- Linux 2.6.30.7, GCC V4.4.0, Glibc 2.10.1
Thanks for this bug report.The problem is caused by a missing "#include <cstdlib>" that should go in line 26 of "main.cc". I'll release shortly a new version of adcd with this problem fixed, plus some more small fixes.
Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |