Monday, May 21st 2018, 5:28am UTC+2

You are not logged in.

  • Login
  • Register


Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Attention: The last reply to this post was 464 days ago. The thread may already be out of date. Please consider creating a new thread.

Message information
Automatically converts internet addresses into links by adding [url] and [/url] around them.
Smiley code in your message such as :) is automatically displayed as image.
You can use BBCode to format your message, if this option is enabled.
Security measure

Please enter the letters that are shown in the picture below (without spaces, and upper or lower case can be used).

The last 3 posts

Friday, February 10th 2017, 5:33pm

by jenlan

Hi Johannes,

I tried your solution. The compiler was not complaining about the option anymore. But we still get the warning.
It seem's the compiler is ignoring the option... or i understand something wrong.

Please see attached pictures
jenlan has attached the following images:
  • SEGGER Embedded Studio_compileroption1.png
  • SEGGER Embedded Studio_compileroption2.png
  • SEGGER Embedded Studio_compileroption3.png

Friday, February 10th 2017, 11:22am

by SEGGER - Johannes


Use -fno-signed-char instead of /J


Friday, February 10th 2017, 10:21am

by jenlan

Addional compiler options for Clang


i switched compiler from gcc to clang. Now we are getting a lot of warnings like :

"passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign"

So i was trying to use "/J " compiler switch to handle chars as unsigned. But if i Add "/J" to addional compiler arguments, i always get a Error like:

"error reading '/J'" :-(
What can i do?