Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Orange C version 4.1.17 (Announce)

posted by Japheth Homepage, Germany (South), 24.02.2011, 15:19

> However, there's still a severe bug in the C preprocessor.

The preprocessor bug has been fixed in v4.1.17.

Orange C is now able to compile and link JWasm. Congrats!

However, the created jwasm binary crashes when it is to assemble a file.

AFAICS it's because the OrangeC implementation of CRT function _splitpath() - and maybe also _makepath() - don't allow NULL pointers as arguments.

MS docs:
------------------------------------------------------------------------
Each argument is stored in a buffer; the manifest constants _MAX_DRIVE, _MAX_DIR, _MAX_FNAME, and _MAX_EXT (defined in STDLIB.H) specify the maximum size necessary for each buffer. The other arguments point to buffers used to store the path elements. After a call to _splitpath is executed, these arguments contain empty strings for components not found in path. You can pass a NULL pointer to _splitpath for any component you don't need.
------------------------------------------------------------------------

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 106 users online (0 registered, 106 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum