pike.git/
src/
las.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2021-06-02
2021-06-02 09:21:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ad136bce1a5a0ed4928d40a955a66d73c589c778 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Reduce strict type warnings somewhat.
3719:
NULL, 0, CDR(n)->type, 0, "Bad type in assignment."); } else {
-
if ((c->lex.pragmas & ID_STRICT_TYPES) &&
+
if ((
Pike_compiler->compiler_pass == COMPILER_PASS_LAST) &&
+
(
c->lex.pragmas & ID_STRICT_TYPES) &&
(CDR(n)->type != zero_type_string)) { struct pike_string *t1 = describe_type(CDR(n)->type); struct pike_string *t2 = describe_type(CAR(n)->type);