pike.git/
src/
program.c
Branch:
Tag:
Non-build tags
All tags
No tags
2008-02-02
2008-02-02 14:27:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>
938ae482f4b37552d2dd1483ae71d4c9378ed28b (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Improved diagnostics.
Rev: src/program.c:1.646
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: program.c,v 1.
645
2008/
01
/
28
19
:
46
:
13
mast
Exp $
+
|| $Id: program.c,v 1.
646
2008/
02
/
02
14
:
27
:
50
grubba
Exp $
*/ #include "global.h"
3183:
if( (p->identifiers[e].func.offset /* + OFFSETOF(object,storage)*/ ) & (alignof_variable(p->identifiers[e].run_time_type)-1)) {
+
dump_program_tables(p, 0);
Pike_fatal("Variable %s offset is not properly aligned (%ld).\n", p->identifiers[e].name->str, PTRDIFF_T_TO_LONG(p->identifiers[e].func.offset));