All that is good looking.
About of snippets, i tried to add to the code of LOp 1.40, the nobility ranks snippet but it makes me a bug when I try to compile. the error is here:
const struct noble_titles noble_rank_table[] =
{
{
{"Serf ", "Serf ", "Serf " }
},
{
{"Serf ", "Serf ", "Serf " }
},
{
{"Peasent " ,"Peasent " ,"Peasent " }
},
{
{"Worker " ,"Worker " ,"Worker " }
},
{
{"Freeman " ,"Freeman " ,"Freewomen " }
},
{
{"Squire " ,"Squire " ,"Squire " }
},
{
{"Horseman " ,"Horseman " ,"Horsewomen " }
},
{
{"Knight " ,"Knight " ,"Knight "}
},
{
{"Adept " ,"Adept " ,"Adept " }
},
{
{"Militia " ,"Milita " ,"Militia " }
},
{
{"Legend " ,"Legend " ,"Legend " }
},
{
{"Lord " ,"Lord " , "Lady " }
},
{
{ "Viscount " ,"Viscount " ,"Lady " }
},
{
{ "Baronet " ,"Baronet " ,"Lady " }
},
{
{ "Count " ,"Count " ,"Countess " }
},
{
{ "Baron " ,"Baron " ,"Baroness " }
},
{
{ "Margrave " ,"Margrave " ,"Marchioness " }
},
{
{ "Duke " ,"Duke " ,"Duchess " }
},
{
{ "Arch Duke " ,"Arch Duke " ,"Duchess " }
},
{
{ "Prince " ,"Prince " ,"Princess " }
},
{
{ "King " ,"King " ,"Queen " }
},
};
the commpiler told me:
~/lop/src
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
tables.c:1123: error: deprecated conversion from string constant to 'char*'
make[1]: *** [o/tables.o] Error 1
make: *** [all] Error 2
Antonio@Antonio-PC ~/lop/src
$
the line witch is wrong is this:
};
I'm trying to compile with Cygwin.
¿someone can explain me where is the problem?
Thanks.