Jul 15, 2018
11:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 15, 2018
11:44 PM
Hi,
I am using PSoC 5.
I am trying to use "#pragma enumsalwaysint off" for selectively turning on/off the sign of the enums,
I using C99.
When I use the pragma and compile , I get the following message.
"warning: ignoring #pragma enumsalwaysint off [-Wunknown-pragmas]"
Solved! Go to Solution.
1 Solution
Jul 17, 2018
05:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2018
05:15 AM
C99 is supported but "#pragma enumsalwaysint off" is not a part of the definition. You need to use header guards in such cases as mentioned in the thread linked below: #pragma once?
Regards,
Dheeraj
1 Reply
Jul 17, 2018
05:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2018
05:15 AM
C99 is supported but "#pragma enumsalwaysint off" is not a part of the definition. You need to use header guards in such cases as mentioned in the thread linked below: #pragma once?
Regards,
Dheeraj