Pelles C forum

Pelles C => Announcements => Topic started by: Pelle on August 08, 2021, 08:11:14 PM

Title: Version 11.00 is now released
Post by: Pelle on August 08, 2021, 08:11:14 PM
http://www.smorgasbordet.com/pellesc/download.htm (http://www.smorgasbordet.com/pellesc/download.htm)

Changes from Release Candidate:

Now I'm taking a looong vacation from this...

/Pelle
Title: Re: Version 11.00 is now released
Post by: MrBcx on August 08, 2021, 08:30:24 PM
Thank you Pelle.

FYI... the download page still says... Setup Executable    Setup of Release Candidate
Title: Re: Version 11.00 is now released
Post by: John Z on August 08, 2021, 09:03:34 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
Title: Re: Version 11.00 is now released
Post by: frankie on August 09, 2021, 12:59:49 AM
Now I'm taking a looong vacation from this...

/Pelle

Code: [Select]
                           #####
                       #######
            ######    ########       #####
        ###########/#####\#####  #############
    ############/##########--#####################
  ####         ######################          #####
 ##          ####      ##########/@@              ###
#          ####        ,-.##/`.#\#####               ##
          ###         /  |$/  |,-. ####                 #
         ##           \_,'$\_,'|  \  ###
         #              \_$$$$$`._/   ##
                          $$$$$_/     ##
                          $$$$$        #
                          $$$$$
                          $$$$$
                          $$$$$
                          $$$$$
                         $$$$$
                         $$$$$
                         $$$$$
                         $$$$$        ___
                         $$$$$    _.-'   `-._
                        $$$$$   ,'           `.
                        $$$$$  /               \
~~~~~~~~~~~~~~~~~~~~~~~$$$$$~~~'~~~~~~~~~~~~~~~~`~~~~~~~~~~~~
   ~      ~  ~    ~  ~ $$$$$  ~   ~       ~          ~
       ~ ~      .o,    $$$$$     ~    ~  ~        ~
  ~            ~ ^   ~ $$$$$~        ______    ~        ~
_______________________$$$$$________|\\\\\\\_________________
                       $$$$$        |>\\\\\\\
    ______             $$$$$        |>>\\\\\\\
   \Q%=/\,\            $$$$$       /\>>|#####|
    `------`           $$$$$      /=|\>|#####|
                       $$$$$        ||\|#####|
                      $$$$$$$          ||"""||
                      $$$$$$$          ||   ||
                     $$$$$$$$$
"""""""""""""""""""""$$$$$$$$$"""""""""""""""""""""""""""""""
                        $$$            -Shimrod

------------------------------------------------
Title: Re: Version 11.00 is now released
Post by: rapte on August 09, 2021, 06:44:50 AM
Thank you Pelle
Title: Re: Version 11.00 is now released
Post by: TimoVJL on August 09, 2021, 08:23:39 AM
Thanks Pelle!
Title: Re: Version 11.00 is now released
Post by: Marco on August 10, 2021, 10:31:36 AM
Now I'm taking a looong vacation from this...

/Pelle
Which you totally deserved. Thank you Pelle!
Title: Re: Version 11.00 is now released
Post by: Vortex on August 11, 2021, 09:54:00 PM
Great work Pelle, thanks.
Title: Re: Version 11.00 is now released
Post by: Grincheux on August 12, 2021, 04:00:34 PM
You are right. The summer is arrived.
Thank You for the compiler.


                         --------------------
     |                   |                       |
[size=78%]      --------------------[/size]|-------------------------------------- Protect yourself for C19
     |                   |                       |
                         --------------------
Title: Re: Version 11.00 is now released
Post by: 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

Code: [Select]
PellesC\Include\Win\basetsd.h(178): warning #2208: No support for '__ptr64'.
lines
Code: [Select]
return ((void *POINTER_64)(__int64) (LONG_PTR)h);errors
Code: [Select]
warning #2280: Unrecognized runtime function: '_enable'.
Code: [Select]
warning #2280: Unrecognized runtime function: '_disable'.
why is that? And what does it mean?

Title: Re: Version 11.00 is now released
Post by: frankie on August 18, 2021, 11:20:53 AM
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

Code: [Select]
PellesC\Include\Win\basetsd.h(178): warning #2208: No support for '__ptr64'.
lines
Code: [Select]
return ((void *POINTER_64)(__int64) (LONG_PTR)h);errors
Code: [Select]
warning #2280: Unrecognized runtime function: '_enable'.
Code: [Select]
warning #2280: Unrecognized runtime function: '_disable'.
why is that? And what does it mean?
Are you using my fSDK?
Code: [Select]
[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.
Title: Re: Version 11.00 is now released
Post by: bitcoin on August 18, 2021, 12:16:22 PM
Yes, of course , I use your SDK.
I don't want to delete it. SDK is very good.
Quote
I don't know the _enable/_disable warning from where came.
winnt.h, lines
#pragma function(_enable)
#pragma function(_disable)
Title: Re: Version 11.00 is now released
Post by: frankie on August 18, 2021, 03:19:44 PM
Try to replace the files in the include directory of PellesC with those in the attached zip.

EDIT: Modified the patch.
Title: Re: Version 11.00 is now released
Post by: 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);
Title: Re: Version 11.00 is now released
Post by: frankie on August 18, 2021, 05:28:01 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.
Title: Re: Version 11.00 is now released
Post by: bitcoin on August 18, 2021, 06:19:50 PM
frankie, all good, but winnt you dont change
this is same.
Title: Re: Version 11.00 is now released
Post by: frankie on August 19, 2021, 12:08:28 AM
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:
Code: [Select]
#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...
Title: Re: Version 11.00 is now released
Post by: bitcoin on August 19, 2021, 11:59:39 AM
Quote
Strange I made some changes on winnt.h also.
see date of edition (screen)

Also SDK works good, warnings not errors , not important.
Title: Re: Version 11.00 is now released
Post by: frankie on August 19, 2021, 12:10:49 PM
OK.
Thanks.
Title: Re: Version 11.00 is now released
Post by: akee on September 03, 2021, 04:10:30 PM
Thanks Pelle.