http://www.smorgasbordet.com/pellesc/download.htm (http://www.smorgasbordet.com/pellesc/download.htm)
Changes from Release Candidate:
- Fixed compiler problem with "while (TRUE)" inside a SEH block.
- Silenced compiler warning for "struct = {0}" initializer idiom, when first element is an enumeration.
- Reduced compiler warning noise for non-optimized code through limited "SSA dead code elimination".
- Fixed compiler problem with bit-width mismatch in known bits implementation.
- Fixed internal compiler error, only in Microsoft mode, for mismatched logic between is-same and composite type handlers.
- Fixed IDE problem with empty string for "Replace with".
- Dropped __declspec(release(..)) from realloc() runtime declaration.
- Added basic DPI-awareness to poviewp.exe.
Now I'm taking a looong vacation from this...
/Pelle
Thank you Pelle.
FYI... the download page still says... Setup Executable Setup of Release Candidate
Quote from: Pelle on August 08, 2021, 08:11:14 PM
Now I'm taking a looong vacation from this...
/Pelle
Most deservedly! We all appreciate your hard work so now you enjoy the vacation.
Thanks!
John Z
Quote from: Pelle on August 08, 2021, 08:11:14 PM
Now I'm taking a looong vacation from this...
/Pelle
#####
#######
###### ######## #####
###########/#####\##### #############
############/##########--#####################
#### ###################### #####
## #### ##########/@@ ###
# #### ,-.##/`.#\##### ##
### / |$/ |,-. #### #
## \_,'$\_,'| \ ###
# \_$$$$$`._/ ##
$$$$$_/ ##
$$$$$ #
$$$$$
$$$$$
$$$$$
$$$$$
$$$$$
$$$$$
$$$$$
$$$$$ ___
$$$$$ _.-' `-._
$$$$$ ,' `.
$$$$$ / \
~~~~~~~~~~~~~~~~~~~~~~~$$$$$~~~'~~~~~~~~~~~~~~~~`~~~~~~~~~~~~
~ ~ ~ ~ ~ $$$$$ ~ ~ ~ ~
~ ~ .o, $$$$$ ~ ~ ~ ~
~ ~ ^ ~ $$$$$~ ______ ~ ~
_______________________$$$$$________|\\\\\\\_________________
$$$$$ |>\\\\\\\
______ $$$$$ |>>\\\\\\\
\Q%=/\,\ $$$$$ /\>>|#####|
`------` $$$$$ /=|\>|#####|
$$$$$ ||\|#####|
$$$$$$$ ||"""||
$$$$$$$ || ||
$$$$$$$$$
"""""""""""""""""""""$$$$$$$$$"""""""""""""""""""""""""""""""
$$$ -Shimrod
------------------------------------------------
Thank you Pelle
Thanks Pelle!
Quote from: Pelle on August 08, 2021, 08:11:14 PM
Now I'm taking a looong vacation from this...
/Pelle
Which you totally deserved. Thank you Pelle!
Great work Pelle, thanks.
You are right. The summer is arrived.
Thank You for the compiler.
--------------------
| | |
[size=78%] --------------------[/size]|-------------------------------------- Protect yourself for C19
| | |
--------------------
Hello Pelle.
I used version 9.0 for 3 years. Now install 11.0 I try to recompile the programs, everywhere I write messages by type
PellesC\Include\Win\basetsd.h(178): warning #2208: No support for '__ptr64'.
lines
return ((void *POINTER_64)(__int64) (LONG_PTR)h);
errors
warning #2280: Unrecognized runtime function: '_enable'.
warning #2280: Unrecognized runtime function: '_disable'.
why is that? And what does it mean?
Quote from: bitcoin on August 17, 2021, 10:48:04 PM
Hello Pelle.
I used version 9.0 for 3 years. Now install 11.0 I try to recompile the programs, everywhere I write messages by type
PellesC\Include\Win\basetsd.h(178): warning #2208: No support for '__ptr64'.
lines
return ((void *POINTER_64)(__int64) (LONG_PTR)h);
errors
warning #2280: Unrecognized runtime function: '_enable'.
warning #2280: Unrecognized runtime function: '_disable'.
why is that? And what does it mean?
Are you using my fSDK?
[code]PellesC\Include\Win\basetsd.h(178): warning #2208: No support for '__ptr64'.
This is a typical spurious warning (requires fSDK upgrade), but not harmful anyway. You can simply ignore it (It tries to define __ptr64 also in 32bits projects that isn't supported by PellesC).
The new version 11 have a lot of more definitions, and is upgraded to win10 SDK, so before to make a huge work to modify my fSDK I want to be sure it is worth the effort. Try to compile without fSDK your sources, if no definition is missing maybe you don't need fSDK anymore... (or at least for now ::)).
I don't know the _enable/_disable warning from where came.
Yes, of course , I use your SDK.
I don't want to delete it. SDK is very good.
QuoteI don't know the _enable/_disable warning from where came.
winnt.h, lines
#pragma function(_enable)
#pragma function(_disable)
Try to replace the files in the include directory of PellesC with those in the attached zip.
EDIT: Modified the patch.
frankie, thanks! but winnt is the same file as I had.
basestd warnings is fixed ok!
I search some new warnings:
\Include\string.h(28): warning #1075: Expansion of macro 'extern' may not be portable.
in string
extern _CRTIMP void * __cdecl memchr(const void *, int, size_t);
Quote from: bitcoin on August 18, 2021, 05:05:18 PM
frankie, thanks! but winnt is the same file as I had.
basestd warnings is fixed ok!
I search some new warnings:
\Include\string.h(28): warning #1075: Expansion of macro 'extern' may not be portable.
in string
extern _CRTIMP void * __cdecl memchr(const void *, int, size_t);
I added fixing in the previous post.
frankie, all good, but winnt you dont change
this is same.
Quote from: bitcoin on August 18, 2021, 06:19:50 PM
frankie, all good, but winnt you dont change
this is same.
Strange I made some changes on winnt.h also.
Good to know that it's good for you.
Anyway consider that my sdk max version is win 7:
#define _WIN32_WINNT_WIN7 0x0601
Actual V11 sdk is marked as win10.
My fSDK miss all intrinsics added in V11
When fSDK was developed PellesC missed the COMDAT (__declspec(selectany) not supported), so I had to introduce some workarounds to comply with MS lazy declarations that made large use uf COMDAT's. The result is that some declarations have alternate forms that requires small modifications of sources with respect to MS compiler. With V11 COMDAT's are available (as __declspec(selectany)).
Some incompatibilities are also present because of new compiler structure, that need to be studied and fixed.
Conclusion: An almost full rewriting is required for fSDK, mostly to reintroduce COMDAT's, but also to update the SDK to win10.
I don't know if this will ever happen...
QuoteStrange I made some changes on winnt.h also.
see date of edition (screen)
Also SDK works good, warnings not errors , not important.
OK.
Thanks.
Thanks Pelle.