Package: aspectc++ Version: 1.0pre4~svn.20090615-1 Severity: normal Tags: patch
Hello, during a rebuild test in Ubuntu, aspectc++ failed to build with the following error: ,---- | ACWeaver.cc: In member function 'Puma::Unit* ACWeaver::translate(Puma::VerboseMgr&, const char*, Transformer&)': | ACWeaver.cc:506: error: invalid conversion from 'const char*' to 'char*' `---- http://launchpadlibrarian.net/31585541/buildlog_ubuntu-karmic-i386.aspectc%2B%2B_1.0pre4~svn.20090615-1_FAILEDTOBUILD.txt.gz Here is a patch to fix this. Regards, Michael --- aspectc++-1.0pre4~svn.20090615.orig/AspectC++/ACWeaver.cc +++ aspectc++-1.0pre4~svn.20090615/AspectC++/ACWeaver.cc @@ -503,7 +503,7 @@ Transformer &transformer) { vm << "Handling Translation Unit `"; - char *fname = strrchr (file, (int)'/'); + const char *fname = strrchr (file, (int)'/'); vm << (fname ? ++fname : file) << "'." << endvm; vm++; vm << "Path \"" << file << "\"" << endvm; -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

