Skip to content

Commit b42ba76

Browse files
author
Joshua Powell
committed
Added additional build; Fixed double to NULL warning
1 parent 421f4b2 commit b42ba76

File tree

5 files changed

+15
-1
lines changed

5 files changed

+15
-1
lines changed

Build/main

21.5 KB
Binary file not shown.

CoordinateConverter.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
isa = XCBuildConfiguration;
241241
buildSettings = {
242242
CODE_SIGN_STYLE = Automatic;
243+
DEVELOPMENT_TEAM = "";
243244
PRODUCT_NAME = "$(TARGET_NAME)";
244245
};
245246
name = Debug;
@@ -248,6 +249,7 @@
248249
isa = XCBuildConfiguration;
249250
buildSettings = {
250251
CODE_SIGN_STYLE = Automatic;
252+
DEVELOPMENT_TEAM = "";
251253
PRODUCT_NAME = "$(TARGET_NAME)";
252254
};
253255
name = Release;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
type = "1"
4+
version = "2.0">
5+
</Bucket>

CoordinateConverter/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
double convert_dms_to_dd(std::string degree, std::string minute, std::string second){
1212

13-
double decimal_degrees = NULL;
13+
double decimal_degrees;
1414

1515
std::string::size_type size_t;
1616

makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# You can change your compiler to gcc / g++ here.
2+
CC=g++
3+
# Add whatever flags you want to use here.
4+
CFLAGS=-c -Wall
5+
6+
all:
7+
$(CC) $(CFLAGS) main.cpp -o CoordinateConverter

0 commit comments

Comments
 (0)