[Bug 985151] GCC6: xosview fails to build
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=985151
http://bugzilla.suse.com/show_bug.cgi?id=985151#c6
--- Comment #6 from Dominique Leuenberger
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 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com