vishapoberon / compiler

vishap oberon compiler
http://oberon.vishap.am
GNU General Public License v3.0
186 stars 25 forks source link

fixed ooc.C typesizes and made X11 examples compile. #85

Closed norayr closed 4 years ago

norayr commented 4 years ago

oocC.Mod interface to C sizes was wrong and outdated. wrong, because some of the values were wrong (integer for sure), and outdated, because it could've use voc new type model where we have INT16, INT8 etc.

I found this problem by troubleshooting oocXYplane, and X11 test programs.

Now they compile.

P. S. in the future, when we'll have a useful package manager, I believe x11 tests and wrappers have to be moved out from voc source tree and reside in a separate repository.