Skip to content

Instantly share code, notes, and snippets.

@DHB
Created March 27, 2013 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DHB/5257561 to your computer and use it in GitHub Desktop.
Save DHB/5257561 to your computer and use it in GitHub Desktop.
rdiscount 2.0.7.1 install problems with ruby 2.0.0p0 (2013-02-24) [i386-mingw32]
h:/ruby200_p0/bin/ruby.exe extconf.rb
checking for random()... no
checking for srandom()... no
checking for rand()... yes
checking for srand()... yes
checking size of unsigned long... 4
checking size of unsigned int... 4
creating Makefile
make
generating rdiscount-i386-mingw32.def
compiling amalloc.c
compiling basename.c
compiling Csio.c
Csio.c: In function 'Csputc':
Csio.c:14:5: warning: operation on 'iot->size' may be undefined [-Wsequence-point]
compiling css.c
css.c: In function 'mkd_css':
css.c:57:6: warning: operation on 'f.size' may be undefined [-Wsequence-point]
compiling docheader.c
compiling dumptree.c
dumptree.c: In function 'Pptype':
dumptree.c:23:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:24:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:25:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:26:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:27:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:28:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:29:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:30:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:31:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:32:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:33:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:34:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:35:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:36:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:37:22: warning: return discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c: In function 'pushpfx':
dumptree.c:44:24: warning: operation on 'sp->size' may be undefined [-Wsequence-point]
dumptree.c: In function 'dumptree':
dumptree.c:104:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
dumptree.c:104:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
compiling emmatch.c
emmatch.c: In function 'emfill':
emmatch.c:79:4: warning: operation on 'p->b_text.size' may be undefined [-Wsequence-point]
compiling flags.c
flags.c:10:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:11:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:12:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:13:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:14:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:15:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:16:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:17:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:18:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:19:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:20:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:21:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:22:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:23:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:24:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:25:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:26:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:27:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:28:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:29:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:30:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c:31:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
flags.c: In function 'mkd_flags_are':
flags.c:45:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
compiling generate.c
generate.c: In function 'push':
generate.c:37:2: warning: operation on 'f->in.size' may be undefined [-Wsequence-point]
generate.c: In function 'Qchar':
generate.c:120:9: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point]
generate.c:127:5: warning: operation on 'cur->b_text.size' may be undefined [-Wsequence-point]
generate.c: In function 'Qem':
generate.c:172:17: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point]
generate.c:179:13: warning: operation on 'f->Q.size' may be undefined [-Wsequence-point]
generate.c: In function '___mkd_reparse':
generate.c:197:5: warning: operation on 'sub.in.size' may be undefined [-Wsequence-point]
generate.c: In function 'puturl':
generate.c:228:6: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:230:6: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:232:6: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:236:6: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:238:6: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: At top level:
generate.c:458:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:459:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:460:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:461:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c: In function 'isautoprefix':
generate.c:473:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
generate.c: At top level:
generate.c:497:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:497:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:498:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:498:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:499:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:499:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:500:30: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:500:30: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:510:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:510:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:510:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:510:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:510:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:511:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:512:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:512:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:512:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:512:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:512:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:513:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:513:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:513:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:513:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:513:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:514:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:514:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:514:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:514:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:514:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c: In function 'pseudo':
generate.c:527:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
generate.c: In function 'p_or_nothing':
generate.c:575:5: warning: return discards 'const' qualifier from pointer target type [enabled by default]
generate.c: In function 'extra_linky':
generate.c:594:3: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'linkyformat':
generate.c:632:6: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:633:6: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:637:6: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'cputc':
generate.c:733:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:734:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:735:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'mangle':
generate.c:748:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:749:2: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'code':
generate.c:812:6: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'delspan':
generate.c:823:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:825:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'codespan':
generate.c:840:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:842:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'process_possible_link':
generate.c:919:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:922:6: warning: passing argument 1 of 'mangle' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:745:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:925:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:927:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:934:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'smartyquote':
generate.c:1037:6: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1043:2: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: At top level:
generate.c:1085:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1085:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1086:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1086:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1087:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1087:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1088:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1088:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1089:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1089:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1090:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1090:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1091:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1091:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1092:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1092:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1093:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1093:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1094:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1094:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1095:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1095:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1096:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1096:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1097:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1097:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1098:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1098:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1099:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1099:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1100:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1100:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1101:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1101:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1102:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1102:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1103:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1103:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1104:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c: In function 'smartypants':
generate.c:1119:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
generate.c:1122:3: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1144:8: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1146:8: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'text':
generate.c:1208:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1212:4: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1218:4: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1226:8: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1263:4: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1265:4: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1302:7: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1304:7: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1329:4: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1337:4: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'printheader':
generate.c:1357:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1361:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1363:5: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1366:5: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: At top level:
generate.c:1372:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1372:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1372:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1373:7: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c: In function 'splat':
generate.c:1384:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1395:6: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1397:2: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1403:6: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1406:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'printtable':
generate.c:1444:2: warning: operation on 'align.size' may be undefined [-Wsequence-point]
generate.c:1449:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1450:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1451:5: warning: passing argument 2 of 'splat' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1378:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1452:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1458:6: warning: operation on 'align.size' may be undefined [-Wsequence-point]
generate.c:1460:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1462:2: warning: passing argument 2 of 'splat' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1378:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1463:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1464:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'printblock':
generate.c:1475:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1475:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1475:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1476:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1476:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1476:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1484:3: warning: passing argument 1 of 'push' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:34:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1490:7: warning: passing argument 1 of 'push' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:34:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'printcode':
generate.c:1507:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1519:5: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'htmlify':
generate.c:1546:2: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1551:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1555:3: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'definitionlist':
generate.c:1566:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1570:3: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1572:3: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1575:6: warning: passing argument 2 of 'htmlify' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1542:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1579:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'listdisplay':
generate.c:1588:2: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1590:6: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1591:2: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1594:6: warning: passing argument 2 of 'htmlify' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1542:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1598:2: warning: passing argument 2 of 'Qprintf' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:155:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'display':
generate.c:1624:2: warning: passing argument 2 of 'htmlify' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:1542:1: note: expected 'char *' but argument is of type 'const char *'
generate.c:1638:2: warning: passing argument 1 of 'Qstring' discards 'const' qualifier from pointer target type [enabled by default]
generate.c:135:1: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'mkd_extra_footnotes':
generate.c:1672:5: warning: passing argument 2 of 'Csprintf' discards 'const' qualifier from pointer target type [enabled by default]
In file included from generate.c:16:0:
cstring.h:73:12: note: expected 'char *' but argument is of type 'const char *'
generate.c:1679:8: warning: passing argument 2 of 'Csprintf' discards 'const' qualifier from pointer target type [enabled by default]
In file included from generate.c:16:0:
cstring.h:73:12: note: expected 'char *' but argument is of type 'const char *'
generate.c:1682:8: warning: passing argument 2 of 'Csprintf' discards 'const' qualifier from pointer target type [enabled by default]
In file included from generate.c:16:0:
cstring.h:73:12: note: expected 'char *' but argument is of type 'const char *'
generate.c:1683:3: warning: passing argument 2 of 'Csprintf' discards 'const' qualifier from pointer target type [enabled by default]
In file included from generate.c:16:0:
cstring.h:73:12: note: expected 'char *' but argument is of type 'const char *'
generate.c:1687:5: warning: passing argument 2 of 'Csprintf' discards 'const' qualifier from pointer target type [enabled by default]
In file included from generate.c:16:0:
cstring.h:73:12: note: expected 'char *' but argument is of type 'const char *'
generate.c: In function 'mkd_document':
generate.c:1710:6: warning: operation on 'p->ctx->out.size' may be undefined [-Wsequence-point]
compiling html5.c
html5.c: In function 'mkd_with_html5_tags':
html5.c:15:5: warning: passing argument 1 of 'mkd_define_tag' discards 'const' qualifier from pointer target type [enabled by default]
In file included from html5.c:3:0:
tags.h:17:6: note: expected 'char *' but argument is of type 'const char *'
html5.c:16:5: warning: passing argument 1 of 'mkd_define_tag' discards 'const' qualifier from pointer target type [enabled by default]
In file included from html5.c:3:0:
tags.h:17:6: note: expected 'char *' but argument is of type 'const char *'
html5.c:17:5: warning: passing argument 1 of 'mkd_define_tag' discards 'const' qualifier from pointer target type [enabled by default]
In file included from html5.c:3:0:
tags.h:17:6: note: expected 'char *' but argument is of type 'const char *'
html5.c:18:5: warning: passing argument 1 of 'mkd_define_tag' discards 'const' qualifier from pointer target type [enabled by default]
In file included from html5.c:3:0:
tags.h:17:6: note: expected 'char *' but argument is of type 'const char *'
html5.c:19:5: warning: passing argument 1 of 'mkd_define_tag' discards 'const' qualifier from pointer target type [enabled by default]
In file included from html5.c:3:0:
tags.h:17:6: note: expected 'char *' but argument is of type 'const char *'
html5.c:20:5: warning: passing argument 1 of 'mkd_define_tag' discards 'const' qualifier from pointer target type [enabled by default]
In file included from html5.c:3:0:
tags.h:17:6: note: expected 'char *' but argument is of type 'const char *'
html5.c:21:5: warning: passing argument 1 of 'mkd_define_tag' discards 'const' qualifier from pointer target type [enabled by default]
In file included from html5.c:3:0:
tags.h:17:6: note: expected 'char *' but argument is of type 'const char *'
compiling markdown.c
markdown.c:104:15: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
markdown.c: In function 'quoteblock':
markdown.c:743:17: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
markdown.c:751:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
markdown.c: In function 'addfootnote':
markdown.c:955:23: warning: operation on 'f->footnotes->size' may be undefined [-Wsequence-point]
markdown.c:963:2: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point]
markdown.c:965:5: warning: operation on 'foot->tag.size' may be undefined [-Wsequence-point]
markdown.c:971:6: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point]
markdown.c:976:2: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point]
markdown.c:977:5: warning: operation on 'foot->link.size' may be undefined [-Wsequence-point]
markdown.c:1004:6: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point]
markdown.c:1010:2: warning: operation on 'foot->title.size' may be undefined [-Wsequence-point]
compiling mkdio.c
mkdio.c: In function 'queue':
mkdio.c:59:3: warning: operation on 'p->text.size' may be undefined [-Wsequence-point]
mkdio.c:63:6: warning: operation on 'p->text.size' may be undefined [-Wsequence-point]
mkdio.c:67:5: warning: operation on 'p->text.size' may be undefined [-Wsequence-point]
mkdio.c: In function 'populate':
mkdio.c:113:6: warning: operation on 'line.size' may be undefined [-Wsequence-point]
mkdio.c: In function 'mkd_line':
mkdio.c:275:2: warning: operation on 'f.out.size' may be undefined [-Wsequence-point]
compiling rdiscount.c
In file included from h:\ruby200_p0\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windows.h:59:0,
from h:\ruby200_p0\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winsock2.h:23,
from h:/ruby200_p0/include/ruby-2.0.0/ruby/win32.h:40,
from h:/ruby200_p0/include/ruby-2.0.0/ruby/defines.h:153,
from h:/ruby200_p0/include/ruby-2.0.0/ruby/ruby.h:70,
from h:/ruby200_p0/include/ruby-2.0.0/ruby.h:33,
from rdiscount.c:3:
h:\ruby200_p0\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windef.h:113:23: error: duplicate 'unsigned'
h:\ruby200_p0\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windef.h:113:23: error: two or more data types in declaration specifiers
h:\ruby200_p0\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windef.h:114:24: error: duplicate 'unsigned'
h:\ruby200_p0\devkit\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windef.h:115:23: error: duplicate 'unsigned'
rdiscount.c: In function 'rb_rdiscount_to_html':
rdiscount.c:19:5: warning: implicit declaration of function 'rb_rdiscount__get_flags' [-Wimplicit-function-declaration]
rdiscount.c:19:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
rdiscount.c:32:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
rdiscount.c: In function 'rb_rdiscount_toc_content':
rdiscount.c:68:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
make: *** [rdiscount.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment