Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • FPC Source FPC Source
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,281
    • Issues 1,281
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 56
    • Merge requests 56
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • FPCFPC
  • FPC SourceFPC Source
  • Issues
  • #10727
Closed
Open
Created Jan 29, 2008 by FPC Admin account@fpc_adminOwner

overloading problems involving literals

Original Reporter info from Mantis: marco @marcoonthegit
  • Reporter name: Marco van de Voort

Description:

The test program is accepted by Delphi, but FPC says:

C:>fpc overloadingproblem.dpr
Free Pascal Compiler version 2.3.1 [2008/01/29] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling overloadingproblem.dpr
overloadingproblem.dpr(64,25) Error: Can't determine which overloaded function to call
overloadingproblem.dpr(66,4) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

Mantis conversion info:

  • Mantis ID: 10727
  • Version: 2.3.1
  • Fixed in version: 2.2.2
  • Fixed in revision: 10985 (#64bad1e0)
  • Target version: 2.2.2
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking