Comments (6)
there have been people that built monsterwm on DragonFly and Free BSD.
See the posts here and here.
as noted, pkgconfig
can help you locate the correct paths.
from monsterwm.
X11INC = -I/usr/local/include/X11
X11LIB = -L/usr/local/lib -lX11
INCS = -I. -I/usr/local/include ${X11INC}
LIBS = -L/usr/local/lib -lc ${X11LIB}
it is not quite what you post for freebsd 9 but I get this:
monsterwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Wextra -I. -I/usr/local/include -I/usr/local/include/X11 -DVERSION="cookies-git" -Os
LDFLAGS = -L/usr/local/lib -lc -L/usr/local/lib -lX11 -s
CC = cc
CC monsterwm.c
In file included from monsterwm.c:11:
In file included from /usr/local/include/X11/Xutil.h:53:
In file included from /usr/local/include/X11/Xlib.h:47:
/usr/local/include/X11/Xfuncproto.h:145:24: warning: named variadic macros are a
GNU extension [-Wvariadic-macros]
#define _X_NONNULL(args...) __attribute__((nonnull(args)))
^
1 warning generated.
CC -o monsterwm
Is it building properly? or should I do excatly as you posted?
from monsterwm.
The build should be fine.
The warnings is generated by Xfuncproto.h
line 145, where it uses named variadic macros.
C99 provides a way to use n.v.m. properly through __VA_ARGS__
[ref].
The warning may go away by using -std=gnuc
instead of -std=c99
in CFLAGS
.
from monsterwm.
error: invalid value 'gnuc' in '-std=gnuc'
I thing it is because FreeBSD used Clang/llvm from version 10.
any work around?
from monsterwm.
right, sorry, that should be gnu99
[ref]
from monsterwm.
for clang the same applies [ref]
clang supports the -std option, which changes what language mode clang uses. The supported modes for C are c89, gnu89, c94, c99, gnu99 and various aliases for those modes. If no -std option is specified, clang defaults to gnu99 mode.
from monsterwm.
Related Issues (20)
- Cannot spawn() amixer HOT 3
- Window flickering with monocle mode and FOLLOW_MOUSE HOT 3
- Rox-filer: dialog windows HOT 2
- Window Decorations ( Titlebar with minimize , maximize ,close buttons ) HOT 1
- MonsterWM output directed to console HOT 1
- Autodetecting a second screen? HOT 3
- Feh display problem in MONOCLE mode HOT 1
- Window freezes HOT 1
- Man page typo.
- Second screen isn't detected anymore when restarting monsterwm
- Can't exit with return code 0
- Shortcuts doesn't work using dvorak keymap
- Hide/Unhide window HOT 1
- Keybind to put floating window in tile mode (maximize window) HOT 1
- cant
- Doesn't adopt/tile windows at startup. HOT 3
- How do you apply patches 2 monsterwm HOT 3
- Every Window launches offcenter
- Why is this not in AUR? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monsterwm.