STR #2391

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #2391

Application:FLTK Library
Status:5 - New
Priority:3 - Moderate, e.g. unable to compile the software
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:Cursor contructor not declared with proper external linkage in fltk dll
Version:2.0-current
Created By:simulacrum111
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#1 simulacrum111
08:41 Jun 28, 2010
cursor.h
1k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#1 simulacrum111
08:41 Jun 28, 2010
In cursor.h the following constructor appears.

Cursor* cursor(Image*, int x, int y);

There is no implementation of this constructor in the implementation file Cursor.cxx.  However, a very similar implementation exists for which there was no declaration.  This implementation is for a constructor of the same signature but with external linkage.

To correct the problem the original declaration above is changed to the following.

extern FL_API Cursor* cursor(Image*, int x, int y);

The altered file is attached to this report and allows fltk 2.0 r7513 to compile.
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.