HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> error in compilation of version 0.99
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1117626902

Message started by Orna Man on Jun 1st, 2005 at 4:55am

Title: error in compilation of version 0.99
Post by Orna Man on Jun 1st, 2005 at 4:55am
Hi,
While building HYPHY version 0.99 from the sources I ran into the following error:
batchlan.cpp: In function `_String ReturnDialogInput(bool)':
batchlan.cpp:680: error: `fStr' undeclared (first use this function)
batchlan.cpp:680: error: (Each undeclared identifier is reported only once for each function it appears in.)
Error during compilation

Adding the lines:
       char str[16384];
       _String fStr(str);
to the beginning of the function ReturnDialogInput in batchlan.cpp fixes the problem.

Best,
Orna

Title: Re: error in compilation of version 0.99
Post by Sergei on Jun 1st, 2005 at 10:48am
Dear Orna,


wrote on Jun 1st, 2005 at 4:55am:
Hi,
While building HYPHY version 0.99 from the sources I ran into the following error:
batchlan.cpp: In function `_String ReturnDialogInput(bool)':
batchlan.cpp:680: error: `fStr' undeclared (first use this function)
batchlan.cpp:680: error: (Each undeclared identifier is reported only once for each function it appears in.)
Error during compilation

Adding the lines:
       char str[16384];
       _String fStr(str);
to the beginning of the function ReturnDialogInput in batchlan.cpp fixes the problem.


Thanks for the report; the source has been corrected now (fStr declared in the appropriate scope). Sorry about this!

Cheers,
Sergei

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.