Displaying 4 results from an estimated 4 matches for "add_include".
Did you mean:
add_includes
2009 Jan 21
3
Nested serialization with to_json and to_xml with array and hash element
Title: Nested serialization with to_json and to_xml with array and
hash element
class Person < ActiveRecord::Base
has_one :address
has_one :job
def office()
return "Executive_Suite"
end
end
class Address < ActiveRecord::Base
belongs_to :person
end
class Job < ActiveRecord::Base
belongs_to :person
has_one :paygrade
def Title
return "Engineer"
end
end
2016 Jan 23
1
[PATCH] add #includes
...me #ifdef. I tried it, and it brokes compilation of some files
because of missing includes.
Imho it makes sense to fix this regardless whether the inclusion
of windows.h inside win_utf8_io.h will be changed or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_includes.patch
Type: application/octet-stream
Size: 1372 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20160123/dce58e8c/attachment.obj
2004 Mar 10
4
HFS+ resource forks: WIP patch included
...},
{"address", 0, POPT_ARG_STRING, &bind_address, 0, 0, 0 },
{"backup-dir", 0, POPT_ARG_STRING, &backup_dir, 0, 0, 0 },
@@ -516,6 +520,16 @@
case OPT_INCLUDE_FROM:
add_exclude_file(&exclude_list, poptGetOptArg(pc),
MISSING_FATAL, ADD_INCLUDE);
+ break;
+
+ case OPT_HFS_MODE:
+ if ( (strcmp(hfs_mode,"none") != 0) &&
+ (strcmp(hfs_mode,"darsplit") != 0) ) {
+ snprintf(err_buf, sizeof err_buf,
+ "unsupported hfs-mode: \"%s\"\n",hfs_mode);
+ rprintf(FERROR, "ERROR: %s&qu...
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...le Thu Oct 24 22:46:20 2013 +0100
+++ b/tools/libfsimage/common/Makefile Sat Oct 26 20:03:06 2013 +0400
@@ -4,11 +4,16 @@ include $(XEN_ROOT)/tools/libfsimage/Rul
MAJOR = 1.0
MINOR = 0
-LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS
+CFLAGS-ADDS-$(CONFIG_SunOS) += -Werror -Wp,-MD,.$(@F).d $(ADD_INCLUDES)
+CFLAGS-ADDS-$(CONFIG_SunOS) += -I/usr/include/libxml2
+CFLAGS-ADDS-$(CONFIG_Linux)=
+
+LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS $(ADD_PATH_LIBS)
LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU
LDFLAGS = $(LDFLAGS-y)
CFLAGS += $(PTHREAD_CFLAGS)
+CFLAGS += $(CFLAGS-ADDS-y)
LDFLAGS += $(P...