Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Support MFC-J430W, fix many bugs, smarter page post-processing #6

Open
wants to merge 46 commits into
base: master
Choose a base branch
from

Conversation

rumpeltux
Copy link

  1. Submodules not initialized (Sources problem #5):
    $ make
    make: *** No rule to make target 'ber/ber.c', needed by 'all'. Stop.

connection.c: In function ‘brother_conn_poll’:
connection.c:179:25: error: ISO C forbids empty initializer braces [-Werror=pedantic]
struct pollfd pfd = {};

device_handler.c: In function ‘device_handler_add_device’:
device_handler.c:180:9: error: ‘dev’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
free(dev);
^~~~~~~~~

1) Submodules not initialized (#5):
$ make
make: *** No rule to make target 'ber/ber.c', needed by 'all'.  Stop.

2)
connection.c: In function ‘brother_conn_poll’:
connection.c:179:25: error: ISO C forbids empty initializer braces [-Werror=pedantic]
     struct pollfd pfd = {};

3)
device_handler.c: In function ‘device_handler_add_device’:
device_handler.c:180:9: error: ‘dev’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         free(dev);
         ^~~~~~~~~
@rumpeltux rumpeltux changed the title Fix compilation errors Support MFC-J430W, fix many bugs, smarter page post-processing Oct 5, 2019
@rumpeltux rumpeltux mentioned this pull request Oct 5, 2019
chickenandpork added a commit to chickenandpork/brother-scand that referenced this pull request Jul 29, 2020
…_64-apple-darwin19.5.0

 * minimal customization of stock Apple:
    * install XCode from Apple App Store (XCode 11.6 onto MacOS-10.15.6 "Catalina")
 * clone the repo per the README (see updated "--recurse-submodules")
 * build warning-free per the README

NOTE: I'm not a fam of cmake-ing the world, my personal experience hasn't lead to great cmake support experiences, I'd rather bazelify-the-world personally or drop back to autotools for most compatibility :)  For this reason, I see @rumpeltux's darsto#6 but would prefer autotools or bazel to cmake so I've cut a smaller PR to simply update this repo.

Apple's Clang-11.0.3 is:
```
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
```
chickenandpork added a commit to chickenandpork/brother-scand that referenced this pull request Jul 29, 2020
…_64-apple-darwin19.5.0

 * minimal customization of stock Apple:
    * install XCode from Apple App Store (XCode 11.6 onto MacOS-10.15.6 "Catalina")
 * clone the repo per the README (see updated "--recurse-submodules")
 * build warning-free per the README

NOTE: I'm not a fan of cmake-ing the world, my personal experience hasn't lead to great cmake support experiences, I'd rather bazelify-the-world personally or drop back to autotools for most compatibility :)  For this reason, I see @rumpeltux's darsto#6 but would prefer autotools or bazel to cmake so I've cut a smaller PR to simply update this repo.

Apple's Clang-11.0.3 is:
```
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
```
sgtell and others added 8 commits July 3, 2021 19:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants