NO

Author Topic: Updates?  (Read 11418 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1965
Re: Updates?
« Reply #15 on: March 21, 2014, 08:11:47 pm »
Little test with WSDK v7.0 and v.7.1
 
Code: [Select]
#pragma warn(disable 1058)
#define __STRALIGN_H_
#define WIN32_LEAN_AND_MEAN
#include<windows.h>
#include <commctrl.h>
#include <richedit.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
{
return 0;
}
Code: [Select]
Building IncTest_7.exe.
Done.
May the source be with you

LD Blake

  • Guest
Re: Updates?
« Reply #16 on: March 21, 2014, 10:43:26 pm »
Little test with WSDK v7.0 and v.7.1
 
Code: [Select]
#pragma warn(disable 1058)
#define __STRALIGN_H_
#define WIN32_LEAN_AND_MEAN
#include<windows.h>
#include <commctrl.h>
#include <richedit.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
{
   return 0;
}
Code: [Select]
Building IncTest_7.exe.
Done.

Yep, I can do that too... It works with only the barest skeleton of the API.  But try it with out the WIN32_LEAN_AND_MEAN define so it loads in networking and other functionality as well.  Things change pretty fast...
 
 

Greenhorn

  • Guest
Re: Updates?
« Reply #17 on: March 21, 2014, 10:46:11 pm »
Code: [Select]
#pragma warn(disable 1058)
#define __STRALIGN_H_

Tested with WinSDK v7.1 -> works perfect ( apart from the warnings )  ;) :)

Thanks and Cheers

Edit, sample attached ...
« Last Edit: March 21, 2014, 10:57:10 pm by Greenhorn »

LD Blake

  • Guest
Re: Updates?
« Reply #18 on: March 21, 2014, 11:36:58 pm »
Code: [Select]
#pragma warn(disable 1058)
#define __STRALIGN_H_

Tested with WinSDK v7.1 -> works perfect ( apart from the warnings )  ;) :)

Thanks and Cheers

Edit, sample attached ...

Ummmm... sorry to say but it doesn't work. The edit control is not created.
 
Using the WindowsAPI headers, I get this...
 
Code: [Select]

C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(898): warning #2195: Unrecognized intrinsic function: '_rotl8'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(899): warning #2195: Unrecognized intrinsic function: '_rotl16'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(900): warning #2195: Unrecognized intrinsic function: '_rotr8'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(901): warning #2195: Unrecognized intrinsic function: '_rotr16'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2609): warning #2195: Unrecognized intrinsic function: '_InterlockedIncrement16'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2610): warning #2195: Unrecognized intrinsic function: '_InterlockedDecrement16'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2611): warning #2195: Unrecognized intrinsic function: '_InterlockedCompareExchange16'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2612): warning #2195: Unrecognized intrinsic function: '_InterlockedAnd'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2613): warning #2195: Unrecognized intrinsic function: '_InterlockedOr'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2614): warning #2195: Unrecognized intrinsic function: '_InterlockedXor'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2620): warning #2195: Unrecognized intrinsic function: '_InterlockedAnd64'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2621): warning #2195: Unrecognized intrinsic function: '_InterlockedOr64'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2622): warning #2195: Unrecognized intrinsic function: '_InterlockedXor64'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2703): warning #2195: Unrecognized intrinsic function: '_ReadWriteBarrier'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2759): warning #2195: Unrecognized intrinsic function: '__faststorefence'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2765): warning #2195: Unrecognized intrinsic function: '_m_prefetchw'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2811): warning #2195: Unrecognized intrinsic function: '__int2c'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2835): warning #2195: Unrecognized intrinsic function: '__getcallerseflags'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2848): warning #2195: Unrecognized intrinsic function: '__segmentlimit'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2861): warning #2195: Unrecognized intrinsic function: '__readpmc'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2969): warning #2195: Unrecognized intrinsic function: '__mulh'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2970): warning #2195: Unrecognized intrinsic function: '__umulh'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2993): warning #2195: Unrecognized intrinsic function: '__shiftleft128'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(2994): warning #2195: Unrecognized intrinsic function: '__shiftright128'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(3009): warning #2195: Unrecognized intrinsic function: '_mul128'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winnt.h(3022): warning #2195: Unrecognized intrinsic function: '_umul128'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winbase.h(2208): warning #2195: Unrecognized intrinsic function: '_InterlockedAnd'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winbase.h(2209): warning #2195: Unrecognized intrinsic function: '_InterlockedOr'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winbase.h(2210): warning #2195: Unrecognized intrinsic function: '_InterlockedXor'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winbase.h(2218): warning #2195: Unrecognized intrinsic function: '_InterlockedAnd64'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winbase.h(2219): warning #2195: Unrecognized intrinsic function: '_InterlockedOr64'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\winbase.h(2220): warning #2195: Unrecognized intrinsic function: '_InterlockedXor64'.
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\shellapi.h(666): warning #1063: Single-line comment contains escaped new-line.
Building Peapad.exe.
Done.

 
These are MS Compiler intrinsics that PellesC does not understand...
 
One of the hardest lessons to learn... "Compiles" does not mean  "Works".
 
« Last Edit: March 21, 2014, 11:40:31 pm by LD Blake »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1965
Re: Updates?
« Reply #19 on: March 22, 2014, 10:39:40 am »
Ummmm... sorry to say but it doesn't work. The edit control is not created.
Edit control is created with width 0, height 0.

These are MS Compiler intrinsics that PellesC does not understand...
Do you need those ?
May the source be with you

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1888
Re: Updates?
« Reply #20 on: March 22, 2014, 01:41:55 pm »
Great, another non-answer.
Dear Blake,
First of all I'm not the developer nor the owner of PellesC!
Second I have made something at least, as many others looking at the answers.
Third doesn't seem to you to be a little ... rude?
Do I have to think that you have something personal toward me ?...  :o
Last if my work is not of your interest don't worry  ;D I'll survive  8) 8) 8)

Offline Christian

  • Administrator
  • Member
  • *****
  • Posts: 141
    • http://www.pellesc.de
Re: Updates?
« Reply #21 on: March 22, 2014, 08:34:36 pm »
Just as a short information about the base topic (even if the topic starter is again a guest, as usual):

I had contact with Pelle and he is working on version 8.0 at the moment. He has no fixed release date yet, but it is going on.

One new part of the upcoming version: OpenMP 3.1 (see here http://en.wikipedia.org/wiki/OpenMP)

@frankie: Thanks for your guide, could you open a FAQ-Thread for this?
www.pellesc.de - German PellesC mirror (now available in german and english)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1888
Re: Updates?
« Reply #22 on: March 22, 2014, 08:46:27 pm »
Hi Christian,
Considering that I spent a couple of hours to make it  8), and that this seems a problem that have not been solved in so many years I would collect some feedbacks before to organically put it down.
As first action I'll move it in a different topic to make it more visible.
« Last Edit: March 22, 2014, 08:50:14 pm by frankie »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1965
Re: Updates?
« Reply #23 on: March 22, 2014, 10:42:37 pm »
I had contact with Pelle and he is working on version 8.0 at the moment. He has no fixed release date yet, but it is going on.
Very nice to hear that 8)
May the source be with you

Offline Christian

  • Administrator
  • Member
  • *****
  • Posts: 141
    • http://www.pellesc.de
Re: Updates?
« Reply #24 on: March 23, 2014, 10:20:28 am »
@Frankie: Good idea. Saw the topic.
www.pellesc.de - German PellesC mirror (now available in german and english)

player55

  • Guest
Re: Updates?
« Reply #25 on: April 01, 2014, 11:27:49 am »
Glad to know Pelles C is still in development. Are there any plans for open-sourcing the code (or some of it)?

Offline Christian

  • Administrator
  • Member
  • *****
  • Posts: 141
    • http://www.pellesc.de
Re: Updates?
« Reply #26 on: April 01, 2014, 09:08:06 pm »
No, as far as I know there is no plan to make it open source.
www.pellesc.de - German PellesC mirror (now available in german and english)

CommonTater

  • Guest
Re: Updates?
« Reply #27 on: April 02, 2014, 05:56:45 pm »
I had contact with Pelle and he is working on version 8.0 at the moment. He has no fixed release date yet, but it is going on.

This is good to hear.

I really wish Pelle would rejoin us... even if it's only for an hour Saturday Mornings... He is the only person who really knows what's going on under the hood and it would be a big boost for all of us if we could actually speak to him.

As for open sourcing the project  ... I vote NO! In my experience open source usually invites a competition with every half-assed coder competing to get his silly new function included. The project soon becomes bloated and eventually unsustainable. 

For a very good example of what can happen, take a look at the D programming language... This is a powerful compiler with most of the right ideas. However Digital Mars made the tragic mistake of going Open Source for their RTL, resulting in 2 competing libraries, both loaded to the tilts with stuff nobody will ever use. 

That said... I would strongly urge Pelle to find 2 or 3 people he trusts and go to a team approach for the project. This is a huge undertaking, too much for one person to do adequately and sadly it seems to be suffering for it as the toolchain is being updated but ancilliary issues such as outdated Windows API headers and libs continue.  Dividing up the work... Perhaps handing the Windows API maintenance off to someone else would surely improve the project by leaps and bounds.

Anyway... I guess you noticed... I'm baaaaack...  ::)

Offline DMac

  • Member
  • *
  • Posts: 268
Re: Updates?
« Reply #28 on: April 03, 2014, 05:02:01 pm »
Got tired of hangin' with President Poutine eh?  :o

Welcome back CommonTator.  :D
No one cares how much you know,
until they know how much you care.

CommonTater

  • Guest
Re: Updates?
« Reply #29 on: April 03, 2014, 05:55:31 pm »
Got tired of hangin' with President Poutine eh?  :o

? Sorry... I'm not catching the reference...

Quote
Welcome back CommonTator.  :D

We'll have to see how long my welcome lasts...

As I've said in the other thread, I like Pelles C. IMO it's the best compiler/IDE setup going, at any price. But I will say that some considerable improvement is needed in the Windows API support. This is the difference between PellesC being a contender or a toy... and it's also a wall that I'm honestly quite tired of banging up against.  So I'm not here without purpose. 
 
John F has all my addons and libs (with sources) now and they'll stay there no matter what happens. The person who pissed me off so severely is in the ignore list.  Others have contacted me privately to ask me to rejoin ... so we'll see what happens.
« Last Edit: April 03, 2014, 06:00:02 pm by CommonTater »