One of these days... maybe I have missed something, but any clue why Gambas
programs cannot find some symbols from libc?
Specifically I'm talking about fmod, my libraries (written with C) can find
this without problem.
And even more strange, Gambas programs can find some symbols from libc.


Library "libc:6"
Private Extern modf(param As Float, pp As Pointer) As Float
Private Extern fmod(param1 As Float, param2 As Float) As Float

Public Sub Main()
Dim pp As Pointer = Alloc(SizeOf(gb.Float))

  Print modf(Pi, pp)
  Print fmod(Pi, 2) '<-- only this raises "cannot find symbol..."

End


Demonstration project attached.

Jussi

Attachment: MissingSymbol-0.0.1.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to