• R/O
  • SSH
  • HTTPS

beego: 提交


Commit MetaInfo

修订版379 (tree)
时间2010-04-20 04:53:12
作者satofumi

Log Message

コンパイルエラーを修正

更改概述

差异

--- gyroscopic/Tds01vCtrl.cpp (revision 378)
+++ gyroscopic/Tds01vCtrl.cpp (revision 379)
@@ -10,6 +10,7 @@
1010 #include "Tds01vCtrl.h"
1111 #include "SerialCtrl.h"
1212 #include "Delay.h"
13+#include <cstdlib>
1314
1415 using namespace beego;
1516
--- gps/Sf2050Ctrl.h (revision 378)
+++ gps/Sf2050Ctrl.h (revision 379)
@@ -11,6 +11,7 @@
1111 */
1212
1313 #include "GpsInterface.h"
14+#include <memory>
1415
1516
1617 namespace beego {
--- gps/NmeaHandler.cpp (revision 378)
+++ gps/NmeaHandler.cpp (revision 379)
@@ -18,6 +18,8 @@
1818 #include "MathUtils.h"
1919 #include <string>
2020 #include <vector>
21+#include <cstdlib>
22+#include <cstring>
2123
2224 #include "str01.h"
2325
--- gps/CommonGpsCtrl.h (revision 378)
+++ gps/CommonGpsCtrl.h (revision 379)
@@ -11,6 +11,7 @@
1111 */
1212
1313 #include "GpsInterface.h"
14+#include <memory>
1415
1516
1617 namespace beego {
--- tools/sh2writer/tiny_sci.c (revision 378)
+++ tools/sh2writer/tiny_sci.c (revision 379)
@@ -56,11 +56,11 @@
5656 void initSCI(long baudrate) {
5757
5858 SCI1.SCR.BYTE = 0x00;
59- SCI1.SMR.BYTE = 0; /* 8bit, 1stop, no parity */
59+ SCI1.SMR.BYTE = 0; /* 8bit, 1stop, no parity */
6060 setBaudrate(baudrate);
61- PFC.PACRL2.WORD |= 0x0140; /* enable RxD1, TxD1 */
62- SCI1.SCR.BYTE = 0x30; /* TE = 1, RE = 1 */
61+ PFC.PACRL2.WORD |= 0x0140; /* enable RxD1, TxD1 */
6362 SCI1.SSR.BYTE &= ~0x40;
63+ SCI1.SCR.BYTE = 0x30; /* TE = 1, RE = 1 */
6464 }
6565
6666
@@ -70,7 +70,7 @@
7070 while((SCI1.SSR.BYTE & 0x40) == 0) /* RDRF */
7171 ;
7272 ch = SCI1.RDR;
73- SCI1.SSR.BYTE &= ~0x40; /* clear RDRF */
73+ SCI1.SSR.BYTE &= ~0x40; /* clear RDRF */
7474
7575 return ch;
7676 }
--- tools/sh2writer/wctrl_data.h (revision 378)
+++ tools/sh2writer/wctrl_data.h (revision 379)
@@ -98,7 +98,7 @@
9898 "\x00\x00\x96\x00\x00\x00\xe1\x00\x00\x01\xc2\x00\x00\x09\x00\x09"
9999 "\x2f\x86\x2f\x96\x98\x1a\xe1\x00\x2f\xe6\x69\x83\x4f\x22\x79\x02"
100100 "\x29\x10\x28\x10\xd1\x0b\x41\x0b\x6e\xf3\x93\x10\x92\x10\x61\x31"
101-"\x21\x2b\x23\x11\xe1\x30\x29\x10\x78\x04\x60\x80\xc9\xbf\x28\x00"
101+"\x21\x2b\x23\x11\x78\x04\x60\x80\xc9\xbf\x28\x00\xe1\x30\x29\x10"
102102 "\x6f\xe3\x4f\x26\x6e\xf6\x69\xf6\x00\x0b\x68\xf6\x81\xb0\x83\x8e"
103103 "\x01\x40\x00\x09\xff\xff\xf5\x20\x00\x09\x00\x09\x00\x09\x00\x09"
104104 "\x2f\xe6\x91\x10\x6e\xf3\x00\x09\x60\x10\xc9\x40\x20\x08\x89\xfb"
--- senario/BaseEntity.cpp (revision 378)
+++ senario/BaseEntity.cpp (revision 379)
@@ -12,6 +12,7 @@
1212 */
1313
1414 #include "BaseEntity.h"
15+#include <cstdio>
1516
1617 using namespace beego;
1718
--- senario/UkagakaShellHandler.cpp (revision 378)
+++ senario/UkagakaShellHandler.cpp (revision 379)
@@ -10,6 +10,8 @@
1010 #include "UkagakaShellHandler.h"
1111 #include <string>
1212 #include <fstream>
13+#include <cstdlib>
14+#include <cstring>
1315
1416 using namespace beego;
1517
--- rangesCtrl/ScipHandler.h (revision 378)
+++ rangesCtrl/ScipHandler.h (revision 379)
@@ -12,6 +12,7 @@
1212
1313 #include <memory>
1414 #include <vector>
15+#include <string>
1516
1617 namespace beego {
1718 class ConnectionInterface;
--- rangesCtrl/ScipHandler.cpp (revision 378)
+++ rangesCtrl/ScipHandler.cpp (revision 379)
@@ -15,6 +15,8 @@
1515 #include "MathUtils.h"
1616 #include "GetTicks.h"
1717 #include "Delay.h"
18+#include <cstring>
19+#include <cstdlib>
1820
1921 //#include "ConnectionLogger.h"
2022
--- gui/FadeSurfacesInterface.h (revision 378)
+++ gui/FadeSurfacesInterface.h (revision 379)
@@ -18,9 +18,9 @@
1818
1919 typedef std::vector<boost::shared_ptr<TextSurface> > FadeSurfaces;
2020
21- typedef enum FadeMode {
21+ typedef enum {
2222 FadeInFromLeft, //!< 左から右方向に表れる
23- };
23+ } FadeMode;
2424
2525 class FadeSurfacesInterface {
2626 public:
--- common/SearchFilePath.cpp (revision 378)
+++ common/SearchFilePath.cpp (revision 379)
@@ -9,6 +9,8 @@
99
1010 #include "SearchFilePath.h"
1111 #include "ExistFile.h"
12+#include <cstdlib>
13+#include <cstring>
1214
1315 using namespace beego;
1416
--- runCtrl/TransmitCtrl.cpp (revision 378)
+++ runCtrl/TransmitCtrl.cpp (revision 379)
@@ -9,6 +9,8 @@
99
1010 #include "TransmitCtrl.h"
1111 #include "ConnectionInterface.h"
12+#include <cstring>
13+#include <cstdio>
1214
1315 using namespace beego;
1416
--- runCtrl/RunCtrl.cpp (revision 378)
+++ runCtrl/RunCtrl.cpp (revision 379)
@@ -15,6 +15,8 @@
1515 #include "tRunCtrl.h"
1616 #include "FileToArgs.h"
1717 #include "SearchFilePath.h"
18+#include <cstring>
19+#include <cstdlib>
1820
1921 using namespace beego;
2022
--- sh7045/samples/Makefile (revision 378)
+++ sh7045/samples/Makefile (revision 379)
@@ -38,6 +38,7 @@
3838 putstr.mot \
3939 putstr.rom \
4040 putstr.dis \
41+ putstr.rom_dis \
4142 timer1sec.mot \
4243 timer1sec.dis \
4344
Show on old repository browser