This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
...was not declared in this ambit
- From: tirengarfio <tirengarfio at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 7 Nov 2007 08:02:16 -0800 (PST)
- Subject: ...was not declared in this ambit
H,
when i try to compile the main.h file below it says:
"p_open was not declared in this ambit."
any idea?
###########main.c############
#include "estructuras.h"
main(int argc, char *argv[])
{
char *comando;
openCmd_t *p_open;
...
memcpy(comando, p_open, sizeof (*p_open)); /////////// error line
}
#######estructuras.h#########
struct openCmd_t {
char username[20];
char password[20];
};
br.
GARFF
--
View this message in context: http://www.nabble.com/...was-not-declared-in-this-ambit-tf4765631.html#a13630069
Sent from the gcc - Help mailing list archive at Nabble.com.