Giter Site home page Giter Site logo

yaffey's People

Watchers

James Cloos avatar

yaffey's Issues

Пожелание

Сделайте запоминание последней папки при 
открытии файла, а то постоянно путь 
сбрасывается на папку с программой.

Original issue reported on code.google.com by [email protected] on 18 Mar 2013 at 7:47

typedef collision yaffs_guts.h - won't compile

** What steps will reproduce the problem?
1. hg clone <repo>
2. cd yaffey ; qmake
3. make

** What is the expected output? What do you see instead?

expected normal compiler output but instead build bombs.

$  make
/usr/bin/uic MainWindow.ui -o ui_MainWindow.h
/usr/bin/uic DialogEditProperties.ui -o ui_DialogEditProperties.h
/usr/bin/uic DialogFastboot.ui -o ui_DialogFastboot.h
/usr/bin/uic DialogImport.ui -o ui_DialogImport.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. 
-I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o main.o 
main.cpp
In file included from yaffs2/yaffs_packedtags2.h:21:0,
                 from Yaffs2.h:23,
                 from YaffsControl.h:22,
                 from YaffsModel.h:26,
                 from MainWindow.h:26,
                 from main.cpp:21:
yaffs2/yaffs_guts.h:24:18: error: conflicting declaration ‘typedef unsigned 
int loff_t’
In file included from /usr/include/stdlib.h:314:0,
                 from /usr/include/c++/4.7/cstdlib:66,
                 from /usr/include/c++/4.7/bits/stl_algo.h:61,
                 from /usr/include/c++/4.7/algorithm:63,
                 from /usr/include/QtCore/qglobal.h:68,
                 from /usr/include/QtCore/qnamespace.h:45,
                 from /usr/include/QtCore/qobjectdefs.h:45,
                 from /usr/include/QtCore/qobject.h:47,
                 from /usr/include/QtCore/qcoreapplication.h:45,
                 from /usr/include/QtGui/qapplication.h:45,
                 from /usr/include/QtGui/QApplication:1,
                 from main.cpp:19:
/usr/include/sys/types.h:44:18: error: ‘loff_t’ has a previous declaration 
as ‘typedef __loff_t loff_t’
make: *** [main.o] Error 1

** What version of the product are you using? On what operating system?

QMake version 2.01a
Using Qt version 4.8.4 in /usr/lib

** Please provide any additional information below.

apply this diff to fix:
$ hg diff
diff -r 28ef64264cd7 yaffs2/yaffs_guts.h
--- a/yaffs2/yaffs_guts.h       Wed May 23 22:05:53 2012 +0100
+++ b/yaffs2/yaffs_guts.h       Sat Feb 15 10:17:45 2014 -0500
@@ -21,7 +21,11 @@
 typedef unsigned char u8;
 typedef unsigned short u16;
 typedef unsigned u32;
-typedef unsigned loff_t;
+//typedef unsigned loff_t;
+//loff_t definition collision with /usr/include/sys/types.h
+#ifndef _SYS_TYPES_H
+#include <sys/types.h>
+#endif

 #define YAFFS_MAX_NAME_LENGTH           255
 #define YAFFS_MAX_ALIAS_LENGTH          159

Original issue reported on code.google.com by [email protected] on 15 Feb 2014 at 3:25

adding free space

What about support for adding free space to an yaffs image? 

Original issue reported on code.google.com by ringzro on 12 Feb 2015 at 1:21

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.