MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001095VCMIOtherpublic2012-09-28 18:122014-05-30 17:41
Reporterdouggie_m 
Assigned ToTow 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformGCC (GNU Compiler Collection)OSGNU/LinuxOS VersionGCC 4.7.1
Product Version 
Target VersionFixed in Version 
Summary0001095: Build error with r2941
DescriptionI'm very glad to hear that issues with serializing quests have been resolved fixed (http://bugs.vcmi.eu/view.php?id=1051 [^]). And also about adding support to recognize uncompressed maps. And also about other fixes you made. That sounds cool.

So I do really want to try out the current SVN. But I can't.

$ make
Making all in lib
make[1]: Entering directory `/home/username/Development/VCMI/vcmi-svn/lib'
g++ -DPACKAGE_NAME=\"vcmi\" -DPACKAGE_TARNAME=\"vcmi\" -DPACKAGE_VERSION=\"0.89\" -DPACKAGE_STRING=\"vcmi\ 0.89\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"vcmi\" -DVERSION=\"0.89\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_BOOST_PROGRAM_OPTIONS=/\*\*/ -DHAVE_LIBRT=1 -DHAVE_LIBDL=1 -DHAVE_SDL_SDL_H=1 -DHAVE_SDL_SDL_MIXER_H=1 -DHAVE_SDL_SDL_IMAGE_H=1 -DHAVE_SDL_SDL_TTF_H=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBAVFORMAT=1 -DHAVE_LIBSWSCALE=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_BOOST_FILESYSTEM_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_REPLACE_HPP=1 -DHAVE_BOOST_FILESYSTEM_OPERATIONS_HPP=1 -DHAVE_BOOST_ASSIGN_STD_VECTOR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_FIND_HPP=1 -DHAVE_BOOST_FUNCTION_HPP=1 -DHAVE_BOOST_BIND_HPP=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_SELECT=1 -DHAVE_SQRT=1 -I. -pthread -I/usr/include -g -O2 -O0 -ggdb -std=c++0x -Wall -Wextra -Wcast-align -Wpointer-arith -Wno-switch -Wno-sign-compare -Wno-unused-parameter -DM_DATA_DIR=\"/usr/share/vcmi\" -DM_BIN_DIR=\"/usr/bin\" -DM_LIB_DIR=\"/usr/lib/vcmi\" -DVCMI_DLL -fPIC -c StdInc.h
StdInc.h:1:9: warning: #pragma once in main file [enabled by default]
make all-am
make[2]: Entering directory `/home/username/Development/VCMI/vcmi-svn/lib'
  CXX libvcmi_la-CBinaryReader.lo
  CXX libvcmi_la-CCompressedStream.lo
  CXX libvcmi_la-CFileInfo.lo
  CXX libvcmi_la-CFileInputStream.lo
  CXX libvcmi_la-CFilesystemLoader.lo
  CXX libvcmi_la-CLodArchiveLoader.lo
  CXX libvcmi_la-CMemoryStream.lo
  CXX libvcmi_la-CResourceLoader.lo
  CXX libvcmi_la-BattleAction.lo
  CXX libvcmi_la-BattleState.lo
  CXX libvcmi_la-CArtHandler.lo
CArtHandler.cpp: In member function 'void CArtHandler::addBonuses()':
CArtHandler.cpp:927:57: error: no matching function for call to 'JsonWriter::JsonWriter(std::ofstream, JsonNode&)'
CArtHandler.cpp:927:57: note: candidates are:
JsonNode.h:122:2: note: JsonWriter::JsonWriter(std::ostream&, const JsonNode&)
JsonNode.h:122:2: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream<char>}' to 'std::ostream& {aka std::basic_ostream<char>&}'
JsonNode.h:110:7: note: JsonWriter::JsonWriter(const JsonWriter&)
JsonNode.h:110:7: note: candidate expects 1 argument, 2 provided
JsonNode.h:110:7: note: JsonWriter::JsonWriter(JsonWriter&&)
JsonNode.h:110:7: note: candidate expects 1 argument, 2 provided
make[2]: *** [libvcmi_la-CArtHandler.lo] Error 1
make[2]: Leaving directory `/home/username/Development/VCMI/vcmi-svn/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/username/Development/VCMI/vcmi-svn/lib'
make: *** [all-recursive] Error 1
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003068)
douggie_m (reporter)
2012-09-28 19:02

Also, I see -g -O2 -O0 -ggdb (which one of -O2 vs -O0 and -g vs -ggdb will be used?..)
(0003069)
Tow (developer)
2012-09-28 19:13

Please try r2942, it should be fixed.
Evil Microsoft-specific extension allows binding lv-refs to temporaries.
(0003071)
douggie_m (reporter)
2012-09-28 19:17

With rev2942, build of libvcmi_la-CArtHandler.lo succeeded.

- Issue History
Date Modified Username Field Change
2012-09-28 18:12 douggie_m New Issue
2012-09-28 19:02 douggie_m Note Added: 0003068
2012-09-28 19:13 Tow Note Added: 0003069
2012-09-28 19:13 Tow Assigned To => Tow
2012-09-28 19:13 Tow Status new => feedback
2012-09-28 19:17 douggie_m Note Added: 0003071
2012-09-28 19:17 douggie_m Status feedback => assigned
2012-09-29 07:17 Ivan Status assigned => resolved
2012-09-29 07:17 Ivan Resolution open => fixed
2014-05-30 17:41 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean