Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

TCC 0.9.26 (Win32) (Announce)

posted by Rugxulo Homepage, Usono, 28.06.2013, 05:45

> Here's my simple test:
>
> typedef struct {
> short unsigned int limit;
> unsigned long base;
> } __attribute__((packed)) GDTR;
>



#define PACKED __attribute__((packed))

typedef struct {
  short unsigned int limit PACKED;
  unsigned long base PACKED;
} GDTR;


(Though "long double" still won't match, but that's a separate issue. I don't think the standard guarantees it to always be wider than "double". IIRC, OpenWatcom and MSVC only support it same as "double", though obviously GCC does more.)

 

Complete thread:

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