ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
12 декабря
99025 Топик полностью
LordN, философ (08.09.2007 14:22, просмотров: 421) ответил htsoft на не в обиду ;)
ИМХО вставляю в проект строку
#include "C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h"
получаю
Build D:\ProjPic\NTO18\nto0402\nto0402 for device 18F252
Using driver C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\bin\picc18.exe

Executing: "C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\bin\picc18.exe" -q -g --asmlist --chip=18F252 "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s" -P --char=unsigned -Blarge --double=32 --cp=16 --pass1 D:\ProjPic\NTO18\nto0402\Nto0402.c 
Warning [374] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 1.5 missing basic type; int assumed
Error   [314] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 1.5 ";" expected
Warning [374] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.23 missing basic type; int assumed
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.23 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.27 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.32 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.37 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.40 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.46 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.49 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.51 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 11.59 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 12.1 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 12.6 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 12.10 "," expected
Error   [314] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 12.15 ";" expected
Warning [374] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 17.25 missing basic type; int assumed
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 17.25 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 17.37 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 17.42 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 17.45 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 17.54 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 18.1 "," expected
Error   [372] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\sources\fastdbl.h; 18.5 "," expected
Advisory[1] too many errors (21)

********** Build failed! **************
явно ведь херню какую-то делаю. асма я не знаю. вообще не знаю. вот и спрашиваю хотяб алгоритм/пример на что-то подобное.
ЛН