Thanks for the move to github, this will help me a lot.
compile failure with newer gcc
I moved the repor to GitHub. SF Git browser has too many bugs and I have other projects at GitHub. https://github.com/set-soft/tvision Last release is 2.2.3 and compiles with gcc 10.2
Excluded objects and executables
Temporally disabled some options.
Fixed gcc 10.2.0 compilation errors.
Merge branch 'r2_0_1u' into master
Added unsigned abs version, seems to be needed by gcc-7
Fixed a couple of detail related to the merge.
Fix problems in progress bar example.
Fixed some ponter to integer conversion issues in dlgdsn
Partial suppor for CLang under MaxOSX
Updated the change.log
Cosmetic details in getopt.c
Added some rudimentary CMake support.
TSearchRec is strictly a struct not a class.
Fixed const char * assignment to char * in MinGW code.
Win32 drivers: explicit conversion to short.
Fixed detail in calendar demo.
Fix data type manipulation in WinGr's TScreenWinGr::System
Removed dangerous condition in TV help compiler.
Added comment about MSVC potential need of internal usleep.
Removed redundant parethesis in tsortedl.cc
Explicit code intention in Win32 driver.
Fix potential issues when including access.h on MinGW
Fix bizarre behavior on Win32 CPU yield.
Fix WinGr potential problem on 64 bits systems
Updated the change.log with the last 17 patches
WinGr driver: missing limits include
Better support for 64 bits MinGW.
Fix pointer to int conversions in compat/regex.c
Fix in getopt.c compatibility replacement.
Added missing forward declararion of TStreamableClass class.
Infinite loop in classes/codepage.cc
Ok. If you have more information to help detect the broken situation and avoid the hang let me know.
Okay, it was my fault for using a broken console font. Feel free to close this ticket.
Okay, it was my fault for using a broken console font.
Infinite loop in classes/codepage.cc
Actually a tar ball would be nice, as you have released a new release for this, which I noticed just today, but only with rpm release targets.
Salvador Eduardo Tropea: Sorry for the delay. The patch works partly, I needed to add the equal abs definiton to classes/tdisplay.cc too, see the attached file. I don't need a tarball for this.
I think the following solves the problem, please confirm. Bernd Waibel: do you need a tarball?
Hi, I suggest you create a patch from git version based on version 2.2.1 (from files/UNIX/2.2.1 CVS20161117/rhtvision_2.2.1-4.tar.gz) -- I'am attaching sample patch.
Thanks for the info, but this doesn't help me. I need to prepare a versioned build for gentoo, not a live build file. If you don't want to share your patches, I guess, I need to figure them out myself, or just use my patch.
Well, the version I downloaded from git does compile without this problem ( git clone https://git.code.sf.net/p/tvision/code tvision-code )
Your macro looks cleaner then my changes to the datatype. If you like, you can create a PR against my fork of the project at https://sourceforge.net/u/waebbl/tvision/ci/master/tree/
I've just found the problem of 'abs'; I suggest using the following macro: #define abs_diff(i,j) ((i)>=(j)?(i)-(j):(j)-(i)) Should interest arise, I could send patch(es).
Is this project still alive?
See the following patch of where I had to add changes: diff --git a/classes/tdesktop.cc b/classes/tdesktop.cc index 38f1be4..041e0a0 100644 --- a/classes/tdesktop.cc +++ b/classes/tdesktop.cc @@ -142,8 +142,8 @@ TBackground *TDeskTop::initBackground( TRect r ) static unsigned iSqr( unsigned i ) { - unsigned res1 = 2; - unsigned res2 = i/res1; + int res1 = 2; + int res2 = i/res1; while( abs( res1 - res2 ) > 1 ) { res1 = (res1 + res2)/2; diff --git a/classes/tdisplay.cc b/classes/tdisplay.cc index...
compile failure with newer gcc
Testing before release.
Modifications from Linux version.
Miscellaneous small patches from RH.
Added #undef NULL to avoid redefintion of NULL in djgpp.
* Released the 1.0.3 version and uploaded to DJ's server.
Fixed the demohelp.h32 name (to be lowercase).
EBX push/pop forced (gcc 2.7.x bug).
Imported the pre-release 1.0.0. These are the files I sent to Robert for
Renamed readme.src to readme.txt.
To ensure this directory is included in the .zip.
Added the Borland's TVision demo. I taked it from the Sigala's port.
* Added code to the compress perl script to regenerate the makefile if the
Changed the release number.
* Fixed the djgpp makefile switchs.
Added the TVision demo from Borland. I taked it from the Sigala's port.
Moved the standard headers before the tv.h because they unconditionally
Removed the redundant translation of the Linux IOCTL shift flags to BIOS
Incorporated nine examples that implements various widgets. They are very
Testing 1.0.3 release.
More changes to fix the collisions between NULL definitions. I guess we'll
Added a 16 steps tutorial from the Sergio Sigala port.
Changed compress.bat for a Perl script that generates the manifest and
Changed the release number and renamed readme.src to .txt.
Typo fixed, missing R in FilterValidator.
* Added "delete.me" files to ensure the empty directories are packaged.
* Fixed the gkey.gpr to be usable by anyone ;-). I added an rhide.env file to
Minor fixes from Linux.
Linux dynamic library stuff.
Imported the pre-release 1.0.0. These are the files I sent to Robert for
Passed the changes to DOS.
Added some comments about what libraries are needed in readme.txt.
Added "delete.me" files to tmp and obj directories to ensure they are
Report the key without shift modifiers in ctrlToArrow. (RH)
Changed readme.src to .txt added change.log.
* Added "delete.me" files to ensure the empty directories are packaged.
Converted all the calls to ctype functions to macros. These macros avoids
*** empty log message ***
* Re-ported from RHIDE Beta 4.
* Fixed the UNIX terminals code to use the ACS_xxxx macros for the frames
* Fixed typos.
* Updated for librhtv.a
* Added as a test for TEditorApp.
* Added Uses_n to get the n() macro.
* Changed the name of the library because Sigala's port is older in the Linux
* Added a "Try" button.
* Updated for a release.
* Fixed to avoid the remove of linux*/obj/delete.me and linux*/obj/CVS.
* Added ^C signal handling to the gkey test. Just because I needed it.