'prog_uint32_t' is deprecated #96

Closed
hanikesn opened this Issue Nov 7, 2014 · 4 comments

Comments

Projects
None yet
3 participants
@hanikesn

hanikesn commented Nov 7, 2014

pgmspace.h (/* $Id: pgmspace.h 2388 2013-05-03 15:36:57Z joerg_wunsch $ */)

Declares prog_uint32_t as deprecated and gives the following reason:

This typedef is now deprecated because the usage of the __progmem__ 
attribute on a type is not supported in GCC. However, the use of the 
__progmem__ attribute on a variable declaration is supported, and this is 
now the recommended usage.
@kriegsman

This comment has been minimized.

Show comment
Hide comment
@kriegsman

kriegsman Nov 7, 2014

Contributor

Thanks. I think we already knew about this one but its compiling, running, and working correctly with a workaround we have for Arduino 1.0.5 and Arduino 1.5.?

What gcc version are you using? What version of the Arduino IDE?

Contributor

kriegsman commented Nov 7, 2014

Thanks. I think we already knew about this one but its compiling, running, and working correctly with a workaround we have for Arduino 1.0.5 and Arduino 1.5.?

What gcc version are you using? What version of the Arduino IDE?

@hanikesn

This comment has been minimized.

Show comment
Hide comment
@hanikesn

hanikesn Nov 7, 2014

I'm not using the Arduino IDE, but Arduino CMake with avr-gcc version 4.9.1.

The code is compiling fine, but I'm getting a lot of warnings.

hanikesn commented Nov 7, 2014

I'm not using the Arduino IDE, but Arduino CMake with avr-gcc version 4.9.1.

The code is compiling fine, but I'm getting a lot of warnings.

@focalintent

This comment has been minimized.

Show comment
Hide comment
@focalintent

focalintent Nov 7, 2014

Member

Just a heads up, depending on what leds you are writing for - gcc versions later than 4.8 (possibly earlier, but i'm not going to binary search old gcc versions to find out when) break the asm code that's used for the WS2811 and friends.

Member

focalintent commented Nov 7, 2014

Just a heads up, depending on what leds you are writing for - gcc versions later than 4.8 (possibly earlier, but i'm not going to binary search old gcc versions to find out when) break the asm code that's used for the WS2811 and friends.

@focalintent focalintent added this to the Future backlog milestone Nov 7, 2014

focalintent added a commit that referenced this issue Nov 8, 2014

@focalintent

This comment has been minimized.

Show comment
Hide comment
@focalintent

focalintent Nov 8, 2014

Member

Fixed on the 3.1 branch

Member

focalintent commented Nov 8, 2014

Fixed on the 3.1 branch

@focalintent focalintent closed this Nov 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment