#379: Generate POSIX errno Constants
-----------------------+----------------------------------------------------
 Reporter:  chromatic  |       Owner:     
     Type:  feature    |      Status:  new
 Priority:  normal     |   Milestone:     
Component:  configure  |     Version:     
 Severity:  medium     |    Keywords:     
     Lang:             |       Patch:     
 Platform:  all        |  
-----------------------+----------------------------------------------------
 There's no easy way in Parrot right now to refer to EPERM, EAGAIN, EINTR,
 and other POSIX errno constants as constants (see the err i, i opcode, for
 example).  The ability to do so would help us write more portable code
 that doesn't rely on hard-coded magic numbers or the hope of matching
 against the output of strerror().

 It would be trivial to write a short configuration-process file which runs
 a C program to generate a PASM file with these values.  It's a quick task
 to do, but connecting it to the right place in the configuration process
 might be a little trickier.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/379>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to