H
husainap
Hi,
I have code like this
file1.h
=======
typedef struct myStructName{
....
...
...
}MyStructName;
file2.h
=======
extern int myStructName (MyStructName *myName);
file3.c
======
#include "file1.h"
#include "file2.h"
.......
.......
.......
While compling with g++ I am getting warning like,
In file included from file3.c:line #:
file2.h :279: warning: `int myStructName (MyStructName *)' hides
constructor for `struct myStructName'
Is there any compile time option to hise this warning? or any other
solution to hide this warning
Thankns
Husain
I have code like this
file1.h
=======
typedef struct myStructName{
....
...
...
}MyStructName;
file2.h
=======
extern int myStructName (MyStructName *myName);
file3.c
======
#include "file1.h"
#include "file2.h"
.......
.......
.......
While compling with g++ I am getting warning like,
In file included from file3.c:line #:
file2.h :279: warning: `int myStructName (MyStructName *)' hides
constructor for `struct myStructName'
Is there any compile time option to hise this warning? or any other
solution to hide this warning
Thankns
Husain