Adeus Borland C, Pelles C and XCC no fork do Viktor
Enviado: 05 Dez 2016 10:56
Ola!
Manter compatibilidade com tanta coisa velha dá muito trabalho...
Saudações,
Itamar M. Lins Jr.
Código: Selecionar todos
2016-12-04 11:45 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com)
* README.md
* Borland C, Pelles C and XCC are now deprecated in this fork.
Please upgrade to mingw or MSVC if you'd like to use this fork.
* package/harbour.rc
* document another Borland C (5.5) bug. Due a RC/PP bug, trash bytes will
be generated in certain strings that are also used in the embedded
manifest in this fork. Newer Windows versions will refuse to run
executables with such corrupted strings in their manifest. Demo:
> brcc32 test.rc
```test.rc
#define HB_MACRO2STRING( macro ) HB_MACRO2STRING_( macro )
#define HB_MACRO2STRING_( macro ) #macro
#define HB_VER_MAJOR 3
#define HB_VER_MAJOR_ 3
STRINGTABLE
{
1, "|" HB_MACRO2STRING( HB_VER_MAJOR ) "|" /* corrupted */
2, "|" HB_MACRO2STRING( HB_VER_MAJOR_ ) "|" /* OK */
}
```
Saudações,
Itamar M. Lins Jr.