Monday, December 11th 2017, 10:12am UTC+1

You are not logged in.

  • Login
  • Register

Date of registration: Nov 1st 2017

Posts: 2

1

Thursday, November 2nd 2017, 11:03am

<inttypes.h> according to standard

Hi,
I'm transitioning to SES & GCC/Clang from IAR and I'm seeing this invalid behavior:
According to the C99 standard, inttypes.h includes stdint.h (source here and here )
It appears that SES v3.30's inttypes.h does not include stdint.h.
Many of my files have

Source code

1
#include <inttypes.h>
to use uint8/16/32_t, which is valid according to various toolchains (IAR, GCC for desktop, visual studio, GCC for ARM) but not according to SEGGER's gcc/clang toolchain.

Any reason behind this? Can I expect this to be resolved according to the standard? I prefer not to add

Source code

1
#include <stdint.h>
in the source code.



Thanks,
Gregory

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 434

2

Friday, November 3rd 2017, 9:27am

Hello Gregory,

Thank you for your inquiry.
The information has been forwarded to our ES developers.
Once i receive an answer i will be notifying you.

Best regards,
Nino

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 434

3

Tuesday, November 7th 2017, 1:07pm

Hi Gregory,

This issue will be fixed with the next ES release version.

Sorry for any inconveniences caused.

Best regards,
Nino

Date of registration: Nov 1st 2017

Posts: 2

4

Tuesday, November 7th 2017, 2:07pm

Thank you for your quick answer