Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1430
Closed
Open
Created Oct 10, 2006 by Florian Büther@fbuGuest

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)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking