SRC\file.h:77: error: [#101] <name> has already been declared in the current scope. Reason:
Example 1: <header1.h file> #define MACRO_NAME 0x01u <file.c file> #include "header1.h" /* MACRO_NAME is defined here */ #define MACRO_NAME 0x04u Example 2: <header1.h file> typedef enum { ORANGE, APPLE, NUMBER_OF_FRUITS } fruitType; typedef enum { TOMATO, ORANGE, /* Orange is already defined in fruitType */ NUMBER_OF_JUICES } juiceType;
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
AuthorWarnings are important! Archives
May 2017
Categories |