import does not import. use does
|
|
Bugzilla Link |
303 |
Created on |
Oct 10, 2006 18:41 |
Resolution |
INVALID |
Resolved on |
Oct 12, 2006 11:40 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Extended Description
considering the following code:
use Structures: all;
use SDLdisplay:all;
int main()
{
disp = initDisplay( [100,100]);
res = destroyDisplay( disp);
return(0);
}
This works fine.
As soon, as the "use"-statements are replaced by "imports", the following error
occures:
ABORT: line 6
ABORT: No definition found for a function "_MAIN::initDisplay" that expects
ABORT: 1 argument(s) and yields 1 return value(s)
*** Compilation failed ***
*** Exit code 5 (Converting to static single assignment form)
*** 1 Error(s), 0 Warning(s)