#1046: Configure.pl allows sizeof(INTVAL) != sizeof(void *), but parrot requires
them to be equal.
-----------------------+----------------------------------------------------
 Reporter:  doughera   |       Owner:       
     Type:  bug        |      Status:  new  
 Priority:  normal     |   Milestone:       
Component:  configure  |     Version:  1.6.0
 Severity:  medium     |    Keywords:       
     Lang:             |       Patch:       
 Platform:             |  
-----------------------+----------------------------------------------------

Comment(by darbelo):

 Replying to [comment:3 doughera]:
 > > Can anyone shed any light on the issues raised in this ticket?
 >
 > I suspect it could go either way.  Either Configure.pl could be altered
 to require those sizes to be the same, or parrot could be altered to allow
 them to be different.  I suspect sentiment leans towards altering
 Configure.pl, but I think it would be wise to check whether sizeof(long)
 == sizeof(void *) on all target platforms (including Win64) before
 proceeding.


 I agree that it can go either way and I think we should put some thought
 into making sure we pick the right way now, so we don't have to go back
 later. As an extra data-point, this is what auto::sizes has to say about
 this.

 {{{
 Hmm, I see your chosen INTVAL isn't the same size as your pointers.
 Parrot
 should still compile and run, but you may see a ton of warnings.
 }}}

 It's quite easy to miss in the midst of the Configure output, but to me,
 indicates the original intent clearly. Is this something we still want to
 support?

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1046#comment:4>
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