[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Enum tags...
From: |
SV |
Subject: |
Enum tags... |
Date: |
Tue, 3 Jan 2006 17:48:53 -0800 |
Hi,
I
have enum defininitions of the following type in my C header
file
enum ErrorEnum_t
{
INVALID = INVALID_VALUE,
ERR_MIN =
200,
OK = ERR_MIN,
ERR = ERR_MIN +
1,
INVALID_DATA = ERR_MIN + 2,
INVALID_REQUEST = ERR_MIN + 3,
INVALID_MSG = ERR_MIN +
4,
INVALID_BATCH_ID = ERR_MIN + 5,
INVALID_REQUESTOR = ERR_MIN + 6,
ERR_MAX = ERR_MIN +
7,
};
typedef enum ErrorEnum_t ErrorEnum_t;
On a RH9 Linux system with global 4.8.7, from the bash
shell, if I do
global INVALID_DATA
I do not get any result. But if I do
global -s INVALID_DATA
I get the definition from the header file and all
occurrences of usage from the C source files in the project. For all function
definitions in the C source file "global" shows me only the definitions. How can
I get the same behaviour for enums as I do for function
definitions?
TIA,
SV