Bug 985151 - GCC6: xosview fails to build
GCC6: xosview fails to build
Status: RESOLVED WORKSFORME
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other Other
: P5 - None : Enhancement (vote)
: ---
Assigned To: Dr. Werner Fink
E-mail List
:
Depends on:
Blocks: 984984
  Show dependency treegraph
 
Reported: 2016-06-16 13:36 UTC by Dominique Leuenberger
Modified: 2016-06-17 12:04 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Build log with gcc6/g++-6 (83.92 KB, text/plain)
2016-06-17 08:35 UTC, Dr. Werner Fink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2016-06-16 13:36:39 UTC
Since the update to GCC6, openSUSE:Factory/ xosview fails to build
Comment 1 Dr. Werner Fink 2016-06-17 07:17:11 UTC
Then choose gcc5, every week a "neue Sau durch's Dorf" ... sorry I've no time to fix xosview next view weeks.
Comment 2 Dominique Leuenberger 2016-06-17 07:28:12 UTC
(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.
Comment 3 Dr. Werner Fink 2016-06-17 08:19:44 UTC
(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.
Comment 4 Dr. Werner Fink 2016-06-17 08:30:14 UTC
SR#402871
Comment 5 Dr. Werner Fink 2016-06-17 08:35:18 UTC
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.
Comment 6 Dominique Leuenberger 2016-06-17 09:18:44 UTC
(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