Re: Hello, Q: errors found in compilation, what to do?



> 	 case WP_RELATIVE:
> 	    if ((db1 = get_vor (waypoints[i].ident_1))) {
> 	       waypoints[i].vor_fix[0].db = db1;
> 	       waypoints[i].vor_fix[0].db_valid = TRUE;
> 	       waypoints[i].vor_fix[0].fix_valid = FALSE;
> 	    }
> 	    break;
> 	 default:
> 	 }

Hello; it seems that you have a more picky compiler than I did when
I wrote this code.  This bug is fixed in the latest CVS source
code.  Or, if you don't want to download the new source code,
if you have an editor, simply change

	default:

to

	default:
	  break;

and that will make the compiler happy.

	-ed falk




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]