inicio mail me! sindicaci;ón

Stuck in the compiler

I’m making progresses to feed the rctime module to the extension compiler. He doesn’t like that much tuples so fixing a couple of tupled line to lists decreased the number of translation errors. Now the translation goes fine but I’m stuck in the compiler process. ctypes doesn’t have a mechanism to explicitly tell that one function returns void (nothing) and/or and by default all functions in ctypes return an integer.

The C generated source code from the translation process assigns the “hypothetic” return value of the function I’m calling (in this case tzset()) to a variable and GCC (he’s right ovbiously) does not allow that.

One step forward anyway!

UPDATE: I should think about the importance of None between one debugger session and the other. Thanks to Albert Strasheim. Better go to bed now.

I think I’ve found a bug in the rpython translation layer but more on this later.

Related posts

  • Don’t mess with strptime
  • Microsoft .NET Framework Tool Developer’s Samples
  • C# compiler testing framework
  • Where I Am
  • Common Lisp’s quote
  • Leave a Comment