Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #1793
Closed
Open
Issue created Jun 23, 2001 by Peter Bortas@zinoOwner

gauge(...); does not work

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1793

Reported by Johan Schön js@roxen.com

This program:

int main()
{
  string foo;
  gauge(foo="");
}

gives the following error:

test.pike:4:Bad argument 2 to `-.
test.pike:4:Expected: !function(!(object | mixed) ... : mixed) & function | function(int, int ... : int) | !function(!float ... : mixed) & function(int | float, int | float ... : float) | function(array((0=mixed)), array ... : array(0)) | function(mapping((1=mixed):(2=mixed)), mapping | array | multiset ... : mapping(1:2)) | function(multiset((3=mixed)), multiset : multiset(3)) | function(string, string ... : string)
test.pike:4:Got     : function(int, string, int : void | mixed)
Pike: Failed to compile script:
Compilation failed.
Assignee
Assign to
Time tracking