← Back to team overview

ooc-dev team mailing list archive

help building block

 

I've downloaded bootstrap sources and builded it. Now I have a block
compiler, but the idea is to build the compiler writen in ooc with it,
right? And use this second compiler instead of the first one.
Well, if I undestood correctly that's what I have to do, but I'm getting
errors:
Any idea? I'm on OSX

Thanks!

mmini:source damian$ rock rock/rock.ooc -o=occrock

sdk/lang/Buffer.ooc:64:24 INFO Score of this capacity = 0 = -1 (SizeT vs
SSizeT)
            capacity = 0
                       ~

sdk/lang/Buffer.ooc:102:19 INFO Score of rs = 0 = -1 (SizeT vs SSizeT)
                rs = 0
                     ~

sdk/lang/Buffer.ooc:141:27 INFO Score of c = this size = -1 (SSizeT vs
SizeT)
        if (c > size) c = size
                          ~~~~

sdk/lang/Buffer.ooc:608:38 INFO Score of index = this size - index = -1
(SSizeT vs SizeT)
        if(index < 0) index = size - index
                                     ~~~~~

sdk/lang/Buffer.ooc:64:24 INFO Score of this capacity = 0 = -1 (SizeT vs
SSizeT)
            capacity = 0
                       ~

sdk/lang/Buffer.ooc:102:19 INFO Score of rs = 0 = -1 (SizeT vs SSizeT)
                rs = 0
                     ~

sdk/lang/Buffer.ooc:141:27 INFO Score of c = this size = -1 (SSizeT vs
SizeT)
        if (c > size) c = size
                          ~~~~

sdk/lang/Buffer.ooc:608:38 INFO Score of index = this size - index = -1
(SSizeT vs SizeT)
        if(index < 0) index = size - index
                                     ~~~~~

./rock/frontend/AstBuilder.ooc:118:51 INFO Score of (impPath, impElement) =
(impPat2, impElemen2) = -100000 ((File, File) vs (File, File))
                (impPath, impElement) = (impPat2, impElemen2)
                                                  ~~~~~~~~~~
rock_tmp/./rock/frontend/CommandLine.c: In function
‘rock_frontend_CommandLine__CommandLine_init’:
rock_tmp/./rock/frontend/CommandLine.c:184: warning: assignment from
incompatible pointer type
rock_tmp/./rock/frontend/CommandLine.c:274: warning: assignment from
incompatible pointer type
rock_tmp/./rock/frontend/CommandLine.c:276: warning: assignment from
incompatible pointer type
rock_tmp/./rock/frontend/CommandLine.c:278: warning: assignment from
incompatible pointer type
rock_tmp/./rock/frontend/CommandLine.c:289: error: ‘ROCK_BUILD_DATE’
undeclared (first use in this function)
rock_tmp/./rock/frontend/CommandLine.c:289: error: (Each undeclared
identifier is reported only once
rock_tmp/./rock/frontend/CommandLine.c:289: error: for each function it
appears in.)
rock_tmp/./rock/frontend/CommandLine.c:289: error: ‘ROCK_BUILD_TIME’
undeclared (first use in this function)
rock_tmp/./rock/frontend/CommandLine.c:297: warning: unused variable
‘cCPath’
rock_tmp/./rock/frontend/CommandLine.c: In function
‘rock_frontend_CommandLine__CommandLine_postParsing_impl’:
rock_tmp/./rock/frontend/CommandLine.c:554: warning: ‘return’ with a value,
in function returning void
rock_tmp/./rock/frontend/CommandLine.c:574: warning: format not a string
literal and no format arguments
rock_tmp/./rock/frontend/CommandLine.c: In function
‘rock_frontend_CommandLine____rock_frontend_CommandLine_closure940’:
rock_tmp/./rock/frontend/CommandLine.c:902: warning: unused variable ‘T’
rock_tmp/./rock/frontend/CommandLine.c: In function
‘rock_frontend_CommandLine____rock_frontend_CommandLine_closure1090’:
rock_tmp/./rock/frontend/CommandLine.c:911: warning: unused variable ‘K’
rock_tmp/./rock/frontend/CommandLine.c:910: warning: unused variable ‘V’
rock_tmp/./rock/frontend/CommandLine.c: In function
‘rock_frontend_CommandLine____rock_frontend_CommandLine_closure1093’:
rock_tmp/./rock/frontend/CommandLine.c:927: warning: unused variable ‘T’
C compiler failed (with code 1), aborting compilation process
[FAIL]

Follow ups