iamnpc / libyuv

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

Errors in building libyuv_unittest on Linux #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
make libyuv_unittest produces the following:

unit_test/planar_test.cc:80:1: error: pasting "," and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:80:1: error: pasting ";" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:80:1: error: pasting "{" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:81:1: error: pasting "," and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:81:1: error: pasting ";" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:81:1: error: pasting "{" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:82:1: error: pasting "," and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:82:1: error: pasting ";" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:82:1: error: pasting "{" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:83:1: error: pasting "," and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:83:1: error: pasting ";" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:83:1: error: pasting "{" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:84:1: error: pasting "," and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:84:1: error: pasting ";" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:84:1: error: pasting "{" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:85:1: error: pasting "," and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:85:1: error: pasting ";" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:85:1: error: pasting "{" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:86:1: error: pasting "," and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:86:1: error: pasting ";" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:86:1: error: pasting "{" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:87:1: error: pasting "," and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:87:1: error: pasting ";" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:87:1: error: pasting "{" and "I420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:88:1: error: pasting "," and "I411" does not give a 
valid preprocessing token
unit_test/planar_test.cc:88:1: error: pasting ";" and "I411" does not give a 
valid preprocessing token
unit_test/planar_test.cc:88:1: error: pasting "{" and "I411" does not give a 
valid preprocessing token
unit_test/planar_test.cc:89:1: error: pasting "," and "I422" does not give a 
valid preprocessing token
unit_test/planar_test.cc:89:1: error: pasting ";" and "I422" does not give a 
valid preprocessing token
unit_test/planar_test.cc:89:1: error: pasting "{" and "I422" does not give a 
valid preprocessing token
unit_test/planar_test.cc:90:1: error: pasting "," and "I444" does not give a 
valid preprocessing token
unit_test/planar_test.cc:90:1: error: pasting ";" and "I444" does not give a 
valid preprocessing token
unit_test/planar_test.cc:90:1: error: pasting "{" and "I444" does not give a 
valid preprocessing token
unit_test/planar_test.cc:139:1: error: pasting "," and "NV12" does not give a 
valid preprocessing token
unit_test/planar_test.cc:139:1: error: pasting ";" and "NV12" does not give a 
valid preprocessing token
unit_test/planar_test.cc:139:1: error: pasting "{" and "NV12" does not give a 
valid preprocessing token
unit_test/planar_test.cc:140:1: error: pasting "," and "NV21" does not give a 
valid preprocessing token
unit_test/planar_test.cc:140:1: error: pasting ";" and "NV21" does not give a 
valid preprocessing token
unit_test/planar_test.cc:140:1: error: pasting "{" and "NV21" does not give a 
valid preprocessing token
unit_test/planar_test.cc:141:1: error: pasting "," and "NV12" does not give a 
valid preprocessing token
unit_test/planar_test.cc:141:1: error: pasting ";" and "NV12" does not give a 
valid preprocessing token
unit_test/planar_test.cc:141:1: error: pasting "{" and "NV12" does not give a 
valid preprocessing token
unit_test/planar_test.cc:142:1: error: pasting "," and "NV21" does not give a 
valid preprocessing token
unit_test/planar_test.cc:142:1: error: pasting ";" and "NV21" does not give a 
valid preprocessing token
unit_test/planar_test.cc:142:1: error: pasting "{" and "NV21" does not give a 
valid preprocessing token
unit_test/planar_test.cc:214:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:214:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:214:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:215:1: error: pasting "," and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:215:1: error: pasting ";" and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:215:1: error: pasting "{" and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:216:1: error: pasting "," and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:216:1: error: pasting ";" and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:216:1: error: pasting "{" and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:217:1: error: pasting "," and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:217:1: error: pasting ";" and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:217:1: error: pasting "{" and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:218:1: error: pasting "," and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:218:1: error: pasting ";" and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:218:1: error: pasting "{" and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:219:1: error: pasting "," and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:219:1: error: pasting ";" and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:219:1: error: pasting "{" and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:220:1: error: pasting "," and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:220:1: error: pasting ";" and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:220:1: error: pasting "{" and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:221:1: error: pasting "," and "ARGB4444" does not give 
a valid preprocessing token
unit_test/planar_test.cc:221:1: error: pasting ";" and "ARGB4444" does not give 
a valid preprocessing token
unit_test/planar_test.cc:221:1: error: pasting "{" and "ARGB4444" does not give 
a valid preprocessing token
unit_test/planar_test.cc:223:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:223:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:223:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:262:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:262:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:262:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:263:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:263:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:263:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:264:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:264:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:264:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:265:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:265:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:265:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:266:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:266:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:266:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:267:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:267:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:267:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:268:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:268:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:268:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:269:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:269:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:269:1: error: pasting "{" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:271:1: error: pasting "," and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:271:1: error: pasting ";" and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:271:1: error: pasting "{" and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:272:1: error: pasting "," and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:272:1: error: pasting ";" and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:272:1: error: pasting "{" and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:273:1: error: pasting "," and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:273:1: error: pasting ";" and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:273:1: error: pasting "{" and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:274:1: error: pasting "," and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:274:1: error: pasting ";" and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:274:1: error: pasting "{" and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:275:1: error: pasting "," and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:275:1: error: pasting ";" and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:275:1: error: pasting "{" and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:276:1: error: pasting "," and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:276:1: error: pasting ";" and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:276:1: error: pasting "{" and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:277:1: error: pasting "," and "ARGB4444" does not give 
a valid preprocessing token
unit_test/planar_test.cc:277:1: error: pasting ";" and "ARGB4444" does not give 
a valid preprocessing token
unit_test/planar_test.cc:277:1: error: pasting "{" and "ARGB4444" does not give 
a valid preprocessing token
unit_test/planar_test.cc:279:1: error: pasting "," and "YUY2" does not give a 
valid preprocessing token
unit_test/planar_test.cc:279:1: error: pasting ";" and "YUY2" does not give a 
valid preprocessing token
unit_test/planar_test.cc:279:1: error: pasting "{" and "YUY2" does not give a 
valid preprocessing token
unit_test/planar_test.cc:280:1: error: pasting "," and "UYVY" does not give a 
valid preprocessing token
unit_test/planar_test.cc:280:1: error: pasting ";" and "UYVY" does not give a 
valid preprocessing token
unit_test/planar_test.cc:280:1: error: pasting "{" and "UYVY" does not give a 
valid preprocessing token
unit_test/planar_test.cc:281:1: error: pasting "," and "M420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:281:1: error: pasting ";" and "M420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:281:1: error: pasting "{" and "M420" does not give a 
valid preprocessing token
unit_test/planar_test.cc:317:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:317:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:317:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:318:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:318:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:318:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:319:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:319:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:319:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:320:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:320:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:320:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:321:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:321:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:321:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:322:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:322:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:322:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:323:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:323:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:323:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:324:1: error: pasting "," and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:324:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:324:1: error: pasting ";" and "ARGB" does not give a 
valid preprocessing token
unit_test/planar_test.cc:326:1: error: pasting "," and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:326:1: error: pasting ";" and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:326:1: error: pasting ";" and "BGRA" does not give a 
valid preprocessing token
unit_test/planar_test.cc:327:1: error: pasting "," and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:327:1: error: pasting ";" and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:327:1: error: pasting ";" and "ABGR" does not give a 
valid preprocessing token
unit_test/planar_test.cc:328:1: error: pasting "," and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:328:1: error: pasting ";" and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:328:1: error: pasting ";" and "RAW" does not give a 
valid preprocessing token
unit_test/planar_test.cc:329:1: error: pasting "," and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:329:1: error: pasting ";" and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:329:1: error: pasting ";" and "RGB24" does not give a 
valid preprocessing token
unit_test/planar_test.cc:330:1: error: pasting "," and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:330:1: error: pasting ";" and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:330:1: error: pasting ";" and "RGB565" does not give a 
valid preprocessing token
unit_test/planar_test.cc:331:1: error: pasting "," and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:331:1: error: pasting ";" and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:331:1: error: pasting ";" and "ARGB1555" does not give 
a valid preprocessing token
unit_test/planar_test.cc:332:1: error: pasting "," and "ARGB4444" does not give 
a valid preprocessing token
unit_test/planar_test.cc:332:1: error: pasting ";" and "ARGB4444" does not give 
a valid preprocessing token
unit_test/planar_test.cc:332:1: error: pasting ";" and "ARGB4444" does not give 
a valid preprocessing token
make: *** [out/Debug/obj.target/libyuv_unittest/unit_test/planar_test.o] Error 1

Original issue reported on code.google.com by mikhal@google.com on 13 Jul 2012 at 11:15

GoogleCodeExporter commented 9 years ago
I think gcc doesnt like space ## so I removed leading ## from some macro 
expansions.
r305 fixes this.

Original comment by fbarch...@google.com on 14 Jul 2012 at 1:30

GoogleCodeExporter commented 9 years ago
Integrated into chromium https://chromiumcodereview.appspot.com/10788007/

Original comment by fbarch...@google.com on 14 Jul 2012 at 2:09