[ create a new paste ] login | about

Link: http://codepad.org/vFMofAzi    [ raw code | output | fork ]

C, pasted on Jul 16:
int
main()
{
  gchar *sql_entry_filename;  
  sql_entry_filename = kiira_sql_query_parser (entry);
  g_print ("\n delete_from_table = %s\n\n",sql_entry_filename);
}
gchar*
kiira_sql_query_parser (inotify_details *entry)
{   
  gchar *aCheck, *bc; 
  glong i; 
  gssize max;
  max = 0;
   g_printf ("b4 parser entry->filename = %s\n",entry->filename);
   gchar new_delimiter = "\0";
   
   i = strlen(entry->filename);
   g_printf ("g_utf8_strlen(entry->filename) = %ld\n", i);

   bc = g_strdelimit (entry->filename, KIIRA_STR_DELIMITERS,  new_delimiter);
   g_printf ("b4 Retrun Using strok = %s\n", bc); 
   return bc;
}


Output:
1
2
3
4
5
6
7
8
In function 'main':
Line 4: error: 'gchar' undeclared (first use in this function)
Line 4: error: (Each undeclared identifier is reported only once
Line 4: error: for each function it appears in.)
Line 4: error: 'sql_entry_filename' undeclared (first use in this function)
Line 5: error: 'entry' undeclared (first use in this function)
t.c: At top level:
Line 8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token


Create a new paste based on this one


Comments: