- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have difficulty to translate value of two line of an header file.
(Uncomment the line #define CONFIG_XXX)
It's require to remove // or /* */ if it exist ?
(Comment the line #define CONFIG_XXX)
Require i add // as same
// #define CONFIG_XXX or /*#define CONFIG_XXX*/ ?
I understand just or false ?
Thanks
Regards
I have difficulty to translate value of two line of an header file.
(Uncomment the line #define CONFIG_XXX)
It's require to remove // or /* */ if it exist ?
(Comment the line #define CONFIG_XXX)
Require i add // as same
// #define CONFIG_XXX or /*#define CONFIG_XXX*/ ?
I understand just or false ?
Thanks
Regards
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting bustaf
Hi
I have difficulty to translate value of two line of an header file.
(Uncomment the line #define CONFIG_XXX)
It's require to remove // or /* */ if it exist ?
(Comment the line #define CONFIG_XXX)
Require i add // as same
// #define CONFIG_XXX or /*#define CONFIG_XXX*/ ?
I understand just or false ?
Thanks
Regards
I have difficulty to translate value of two line of an header file.
(Uncomment the line #define CONFIG_XXX)
It's require to remove // or /* */ if it exist ?
(Comment the line #define CONFIG_XXX)
Require i add // as same
// #define CONFIG_XXX or /*#define CONFIG_XXX*/ ?
I understand just or false ?
Thanks
Regards
Please take a look at these three cases:
// #define CONFIG_XXX
or
/*#define CONFIG_XXX*/
or
///*#define CONFIG_XXX*/
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sergey ,thanks
I changing the form of my question more clear.
In this case
meaning (Uncomment) is for enabled source line ?
meaning (Comment) is for disable source line ?
This file header is include to an firmware flash..
The source comport the strange comments ...
I'm afraid to compile and load this firmware incorrectly.
it's solved now for me , it work ok.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting bustaf
...
In this case
meaning (Uncomment) is for enabled source line ? Yes, to compile it
meaning (Comment) is for disable source line ? Yes, to exclude from compilation
In this case
meaning (Uncomment) is for enabled source line ? Yes, to compile it
meaning (Comment) is for disable source line ? Yes, to exclude from compilation

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page