baskaran baskaran

pragma suooprt in diab

Discussion created by baskaran baskaran on Jul 16, 2007
Latest reply on Jul 16, 2007 by CrasyCat
HI,
      I tried to compile the following .cpp files from diab.

/*.....test1.cpp...........*/

#pragma section DATA ".first" ".first"
int raj2;

#pragma section DATA ".second" ".second"
extern int var1;
int ar2;

int testmain()
{
        int a,b,c;
        return a;

 

}

/****************************************************/

in the above code i want variable ar2 to go to section second, but it
is going to section first.

can anyone make this clear

Outcomes