parrot/parrot — Issue #705: Build breaks is sizeof (INTVAL) != sizeof (opcode_t), inter::types discards --opcode
Author: gerdr
Created: 2012-01-23 18:17:45+00:00
State: open

While testing #704, jnthn ended up with a `long long` as `INTVAL` type and `long` as `opcode_t` type. This, however, is not a working combination - the build failed at

.\miniparrot.exe -Iruntime/parrot/include -o frontend/parrot2/prt0.pbc frontend/parrot2/prt0.pir
PackFile_pack segment 'DIRECTORY' used size 2368 but reported 2664

This issue probably never turned up before as the configuration step `inter::types` discards the configuration option `--opcode` and changes it to either `--intval` if present or `long`.

The only way one could end up with different values before my refactor of `auto::sizes` was manually skipping configuration steps or entering interactive mode via `--ask`, which obviously is not something normally done.

It should be discussed whether different types should be supported at all. If not, the `--opcode` configuration option should be removed.