Strange problem with structure
Zarathustra
adam.chrapkowski at gmail.com
Mon Jul 21 07:30:13 PDT 2008
I have got following part of code:
[code_code_code_code_code_code_code]
module basis;
import std.stdio;
import std.math;
import std.string;
import std.process;
struct SCoordinate{
int max;
int min;
}
[code_code_code_code_code_code_code]
and following errors:
OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved.
source\hiddenLine.obj(hiddenLine)
Error 42: Symbol Undefined _D5basis11SCoordinate3maxMFZl
source\hiddenLine.obj(hiddenLine)
Error 42: Symbol Undefined _D5basis11SCoordinate3minMFZl
It looks like linker treats min and max like external symbols, but why?
More information about the Digitalmars-d-learn
mailing list