Bugzilla – Bug 985151
GCC6: xosview fails to build
Last modified: 2016-06-17 12:04:11 UTC
Since the update to GCC6, openSUSE:Factory/ xosview fails to build
Then choose gcc5, every week a "neue Sau durch's Dorf" ... sorry I've no time to fix xosview next view weeks.
(In reply to Dr. Werner Fink from comment #1) > Then choose gcc5, every week a "neue Sau durch's Dorf" ... sorry I've no > time to fix xosview next view weeks. osc dr openSUSE:Factory xosview -m 'No time for maintenance' is a valid alternative - as much as is asking the openSUSE community on openSUSE-factory@o.o for help.. you know the game.
(In reply to Dominique Leuenberger from comment #2) > osc dr openSUSE:Factory xosview -m 'No time for maintenance' > is a valid alternative It is not ... I'm using xosview, what about switching gcc? And if I read the log file I guess that gcc6 is a to overshooting or in other words gcc/g++ is not python.
SR#402871
Created attachment 681158 [details] Build log with gcc6/g++-6 -Wmisleading-indentation and template problems ... whereas I'm not sure if this is a bug in xosview code or a missing/dropped feature in the ostream implementation.
(In reply to Dr. Werner Fink from comment #5) > Created attachment 681158 [details] > Build log with gcc6/g++-6 > > -Wmisleading-indentation and template problems ... whereas I'm not sure if > this is a bug in xosview code or a missing/dropped feature in the ostream > implementation. A compiler that knows what it does... the code is confusing two variables: std::ifstream temp_file(_tempfile); std::ifstream high_file(_highfile); std::cerr << "Can not open file : " << temp_file << std::endl; std::cerr << "Can not open file : " << high_file << std::endl; It meant to print the file name, which is actually _highfile and _tempfile... ups
Simply apply http://pkgs.fedoraproject.org/cgit/rpms/xosview.git/commit/?h=f22&id=69e6860ae0295258b92976328601d2f1ac27a61e