STR #1411

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 1.1 ]

STR #1411

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Subsystem:MacOS
Summary:fl_encoding_latin1.cxx not working
Version:1.1-current
Created By:christoph
Assigned To:matt
Fix Version:1.1-current (SVN: v5408)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text top right image
 
#1 christoph
09:12 Sep 03, 2006
fl_encoding_latin1.cxx contains critical errors, making it currently unusable:
     - in fl_latin1_to_local() the loop over the characters in
       the text is missing
     - the conversion tables have the wrong size. It should be
       [128] rather than [256]. Surprisingly gcc compiles it
       nevertheless, but access to the table yields garbage.

Actually this applies to all OS, but the functions from this file are  only essential on OSX.
 
 
#2 matt
11:47 Sep 04, 2006
Fixed in Subversion repository.

The first bug would only cause a compiler error if the size was less than the number of elements. If it is more, it's filled with 0s.

The second bug is just emberrasing ;-)
 
bottom left image   bottom right image

Return to Bugs & Features ]

 
 

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