bugTiny C Compiler - Bugs: bug #56628, WIN32 define gets undefined in 64...

 
 

bug #56628: WIN32 define gets undefined in 64 bits mode

Submitter:  David KOCH <kochise>
Submitted:  Sun 14 Jul 2019 07:40:33 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 14 Jul 2019 07:40:33 PM UTC, original submission:  

Some source code determine if it's a Windows target if 'WIN32' is defined, yet at the beginning of '_mingw.h' it gets undefined (line 24) but not redefined later (line 84) if '_WIN64' is defined.

So for instance a specific 'setenv' for WIN32 implementation cannot get compiled in 64 bits.

Temporary solution is using the 32 bits compiler (i386-win32-tcc.exe) instead of the 64 bits version (x86_64-win32-tcc.exe).

Could it be possible not to undefine 'WIN32' without modifying the compiler include files ?

David KOCH <kochise>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kochise (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code