cxt / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

building error on linux (fedora 22 gcc 5.1) #259

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
try to build a project that uses libwebp source on Fedora 22 using ggc 5.1

What is the expected output?
a clean build without problems from libwebp

What do you see instead?
Source/LibWebP/./src/dsp/dsp.upsampling_mips_dsp_r2.c:37:34: error: invalid 
character ' ' in raw string delimiter
"shll_s.w %["#R"], %["#R"], 9 \n\t" \ ^
Source/LibWebP/./src/dsp/dsp.upsampling_mips_dsp_r2.c:37:48: error: invalid 
character ' ' in raw string delimiter
"shll_s.w %["#R"], %["#R"], 9 \n\t" \ ^
Source/LibWebP/./src/dsp/dsp.upsampling_mips_dsp_r2.c:40:34: error: invalid 
character ' ' in raw string delimiter
"precrqu_s.qb.ph %["#R"], %["#R"], $zero \n\t" \ ^
Source/LibWebP/./src/dsp/dsp.upsampling_mips_dsp_r2.c:40:48: error: invalid 
character ' ' in raw string delimiter
"precrqu_s.qb.ph %["#R"], %["#R"], $zero \n\t" \ ^
Source/LibWebP/./src/dsp/dsp.upsampling_mips_dsp_r2.c:43:34: error: invalid 
character ' ' in raw string delimiter
"srl %["#R"], %["#R"], 24 \n\t" \ ^
Source/LibWebP/./src/dsp/dsp.upsampling_mips_dsp_r2.c:43:48: error: invalid 
character ' ' in raw string delimiter
"srl %["#R"], %["#R"], 24 \n\t" \ ^

people describing the problem:
https://github.com/aseprite/aseprite/issues/799
http://sourceforge.net/p/freeimage/discussion/36110/thread/605ef8e4/

What version of the product are you using? On what operating system?
using git master on fedora 22 using gcc 5.1

Original issue reported on code.google.com by rauter.g...@gmail.com on 2 Sep 2015 at 9:42

GoogleCodeExporter commented 8 years ago
Thanks for the report. Only a subset of the files are probably truly necessary, 
but for consistency I adjusted all the mips files [1]. Try the patch out if you 
can to see if it addresses the issue.
There are a few left in dec_neon, but I don't think they'll trigger this 
warning. I can normalize those in another patch.

[1] https://chromium-review.googlesource.com/#/c/297211

Original comment by jz...@google.com on 3 Sep 2015 at 6:39

GoogleCodeExporter commented 8 years ago
This seems to fix it. Builds without errors with this patch on F22 with GCC 
5.1. Thank you.

Original comment by rauter.g...@gmail.com on 3 Sep 2015 at 7:27

GoogleCodeExporter commented 8 years ago
merged. Thanks again for the report and trying out the fix!

Original comment by jz...@google.com on 4 Sep 2015 at 5:56