Index: io_hyp.c =================================================================== --- io_hyp.c (revision 21409) +++ io_hyp.c (revision 21410) @@ -86,7 +86,7 @@ return 0; } -#warning TODO: rewrite this - this is very unpcb-rnd +TODO(": rewrite this - this is very unpcb-rnd") #if 0 int i = 0; /* @@ -182,7 +182,7 @@ io_hyp.description = "hyperlynx"; io_hyp.save_preference_prio = 30; io_hyp.default_extension = ".hyp"; -#warning TODO: look these up +TODO(": look these up") io_hyp.fp_extension = ".hyp_mod"; io_hyp.mime_type = "application/x-hyp-pcb"; Index: parser.c =================================================================== --- parser.c (revision 21409) +++ parser.c (revision 21410) @@ -369,7 +369,7 @@ /* * find padstack by name */ -#warning TODO: use a hash instead +TODO(": use a hash instead") padstack_t *hyp_pstk_by_name(char *padstack_name) { padstack_t *i; @@ -417,7 +417,7 @@ /* * find hyperlynx device by name */ -#warning TODO: convert this into a hash +TODO(": convert this into a hash") device_t *hyp_device_by_name(char *device_name) { device_t *i; @@ -1828,7 +1828,7 @@ mdef = strcmp(i->layer_name, "MDEF") == 0; top_or_bottom = 0; -#warning TODO: check if mask/paste layers can be acquired explicitly as non-metal layers +TODO(": check if mask/paste layers can be acquired explicitly as non-metal layers") if (mdef || (strcmp(i->layer_name, ln_top) == 0)) { if (!have_top) { hyp_pstk_add_shp(sh, &sh_used, sh_max, i, PCB_LYT_TOP | PCB_LYT_COPPER, 0, 0); Index: write.c =================================================================== --- write.c (revision 21409) +++ write.c (revision 21410) @@ -181,10 +181,10 @@ { pcb_coord_t sx, sy, minx, miny, maxx, maxy; int shnum = 0, n; -#warning TODO: this ignores rotation +TODO(": this ignores rotation") switch(shp->shape) { case PCB_PSSH_HSHADOW: -#warning hshadow TODO +TODO("hshadow TODO") break; case PCB_PSSH_CIRC: sx = sy = shp->data.circ.dia; @@ -191,7 +191,7 @@ shnum = 0; break; case PCB_PSSH_POLY: -#warning TODO: check if it is a rectangle +TODO(": check if it is a rectangle") minx = maxx = shp->data.poly.x[0]; miny = maxy = shp->data.poly.y[0]; for(n = 1; n < shp->data.poly.len; n++) { @@ -401,7 +401,7 @@ if (l == NULL) continue; -#warning layer TODO: refuse negative layers and warn for objects other than line/arc +TODO("layer: refuse negative layers and warn for objects other than line/arc") linelist_foreach(&l->Line, &it, line) { write_pr_line(wr, line->Point1.X, line->Point1.Y, line->Point2.X, line->Point2.Y);