<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Looks like someone’s trying to solve the Mt. Chiliad Mystery :) Anyways, it appears that “Epsilon Building” has 5 members instead of 4. That’s probably causing the issue.<div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Saagar Jha</div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 11, 2017, at 8:46 PM, Ethin Probst via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello all,<br class="">I have the following structured array:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>static struct {<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>LPCSTR text;<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>float x;<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>float y;<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>float z;<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>} lines[50000] = {<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "MARKER" },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "MICHAEL'S HOUSE", -852.4f, 160.0f, 65.6f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "FRANKLIN'S HOUSE", 7.9f, 548.1f, 175.5f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "TREVOR'S TRAILER", 1985.7f, 3812.2f, 32.2f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "AIRPORT ENTRANCE", -1034.6f, -2733.6f, 13.8f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "AIRPORT FIELD", -1336.0f, -3044.0f, 13.9f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "ELYSIAN ISLAND", 338.2f, -2715.9f, 38.5f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "JETSAM", 760.4f, -2943.2f, 5.8f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "STRIPCLUB", 127.4f, -1307.7f, 29.2f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "ELBURRO HEIGHTS", 1384.0f, -2057.1f, 52.0f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "FERRIS WHEEL", -1670.7f, -1125.0f, 13.0f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "CHUMASH", -3192.6f, 1100.0f, 20.2f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "WINDFARM", 2354.0f, 1830.3f, 101.1f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "MILITARY BASE", -2047.4f, 3132.1f, 32.8f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "MCKENZIE AIRFIELD", 2121.7f, 4796.3f, 41.1f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "DESERT AIRFIELD", 1747.0f, 3273.7f, 41.1f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{ "CHILLIAD", 425.4f, 5614.3f, 766.5f },<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>{"Strip Club DJ Booth", 126.135f, -1278.583f, 29.270f},<br class="">{"Blaine County Savings Bank", -109.299f, 6464.035f, 31.627f},<br class="">{"Police Station", 436.491f, -982.172f, 30.699f},<br class="">{"Humane Labs Entrance", 3619.749f, 2742.740f, 28.690f},<br class="">{"Burnt FIB Building", 160.868f, -745.831f, 250.063f},<br class="">{"North Yankton Bank", 5309.519f, -5212.375f, 83.522f},<br class="">{"10 Car Garage Back Room", 223.193f, -967.322f, 99.000f},<br class="">{"Humane Labs Tunnel", 3525.495f, 3705.301f, 20.992f},<br class="">{"Ammunation Office", 12.494f, -1110.130f, 29.797f},<br class="">{"Ammunation Gun Range", &nbsp;22.153f, -1072.854f, 29.797f},<br class="">{"Trevor's Meth Lab", 1391.773f, 3608.716f, 38.942f},<br class="">{"Pacific Standard Bank Vault", 255.851f, 217.030f, 101.683f},<br class="">{"Lester's House", 1273.898f, -1719.304f, 54.771f},<br class="">{"Floyd's Apartment", -1150.703f, -1520.713f, 10.633f},<br class="">{"FIB Top Floor", 135.733f, -749.216f, 258.152f},<br class="">{"IAA Office", 117.220f, -620.938f, 206.047f},<br class="">{"Pacific Standard Bank", 235.046f, 216.434f, 106.287f},<br class="">{"Fort Zancudo ATC entrance", -2344.373f, 3267.498f, 32.811f},<br class="">{"Fort Zancudo ATC top floor", -2358.132f, 3249.754f, 101.451f},<br class="">{"Damaged Hospital", 356.822f, -590.151f, 43.315f},<br class="">{"Slaughterhouse", -80.557f, 6220.006f, 31.090f},<br class="">{"Los Santos County Coroner Office/Morgue", 243.351f, -1376.014f, 39.534f},<br class="">{"Torture Room", &nbsp;147.170f, -2201.804f, 4.688f},<br class="">{"O'neil Ranch", &nbsp;2441.216f, 4968.585f, 51.707f},<br class="">{"Main LS Customs", -365.425f, -131.809f, 37.873f},<br class="">{"Yacht", -2023.661f, -1038.038f, 5.577f},<br class="">{"Carrier (MP Only)", 3069.330f, -4704.220f, 15.043f},<br class="">{"Fort Zankudo UFO", 2052.000f, 3237.000f, 1456.973f},<br class="">{"Very High Up", -129.964f, 8130.873f, 6705.307f},<br class="">{"IAA Roof", 134.085f, -637.859f, 262.851f},<br class="">{"FIB Roof", 150.126f, -754.591f, 262.865f},<br class="">{"Maze Bank Roof", -75.015f, -818.215f, 326.176f},<br class="">{"Top of the Mt Chilad", 450.718f, 5566.614f, 806.183f},<br class="">{"Most Northerly Point", 24.775f, 7644.102f, 19.055f},<br class="">{"Vinewood Bowl Stage", 686.245f, 577.950f, 130.461f},<br class="">{"Sisyphus Theater Stage", 205.316f, 1167.378f, 227.005f},<br class="">{"Director Mod Trailer", -20.004f, -10.889f, 500.602f},<br class="">{"Galileo Observatory Roof", -438.804f, 1076.097f, 352.411f},<br class="">{"Kortz Center", -2243.810f, 264.048f, 174.615f},<br class="">{"Chumash Historic Family Pier", -3426.683f, 967.738f, 8.347f},<br class="">{"Paleto Bay Pier", -275.522f, 6635.835f, 7.425f},<br class="">{"God's thumb", -1006.402f, 6272.383f, 1.503f},<br class="">{"Calafia Train Bridge", -517.869f, 4425.284f, 89.795f},<br class="">{"Altruist Cult Camp", -1170.841f, 4926.646f, 224.295f},<br class="">{"Maze Bank Arena Roof", -324.300f, -1968.545f, 67.002f},<br class="">{"Marlowe Vineyards", -1868.971f, 2095.674f, 139.115f},<br class="">{"Hippy Camp", 2476.712f, 3789.645f, 41.226f},<br class="">{"Devin Weston's House", -2639.872f, 1866.812f, 160.135f},<br class="">{"Abandon Mine", -595.342f, 2086.008f, 131.412f},<br class="">{"Weed Farm", 2208.777f, 5578.235f, 53.735f},<br class="">{"Stab City", &nbsp;126.975f, 3714.419f, 46.827f},<br class="">{"Airplane Graveyard Airplane Tail", 2395.096f, 3049.616f, 60.053f},<br class="">{"Satellite Dish Antenna", 2034.988f, 2953.105f, 74.602f},<br class="">{"Satellite Dishes", &nbsp;2062.123f, 2942.055f, 47.431f},<br class="">{"Windmill Top", 2026.677f, 1842.684f, 133.313f},<br class="">{"Sandy Shores Building Site Crane", 1051.209f, 2280.452f, 89.727f},<br class="">{"Rebel Radio", 736.153f, 2583.143f, 79.634f},<br class="">{"Quarry", 2954.196f, 2783.410f, 41.004f},<br class="">{"Palmer-Taylor Power Station Chimney", &nbsp;2732.931f, 1577.540f, 83.671f},<br class="">{"Merryweather Dock", &nbsp;486.417f, -3339.692f, 6.070f},<br class="">{"Cargo Ship", 899.678f, -2882.191f, 19.013f},<br class="">{"Del Perro Pier", -1850.127f, -1231.751f, 13.017f},<br class="">{"Play Boy Mansion", -1475.234f, 167.088f, 55.841f},<br class="">{"Jolene Cranley-Evans Ghost", 3059.620f, 5564.246f, 197.091f},<br class="">{"NOOSE Headquarters", 2535.243f, -383.799f, 92.993f},<br class="">{"Snowman", 971.245f, -1620.993f, 30.111f},<br class="">{"Oriental Theater", 293.089f, 180.466f, 104.301f},<br class="">{"Beach Skatepark", -1374.881f, -1398.835f, 6.141f},<br class="">{"Underpass Skatepark", 718.341f, -1218.714f, 26.014f},<br class="">{"Casino", 925.329f, 46.152f, 80.908f},<br class="">{"University of San Andreas", -1696.866f, 142.747f, 64.372f},<br class="">{"La Puerta Freeway Bridge", &nbsp;-543.932f, -2225.543f, 122.366f},<br class="">{"Land Act Dam", &nbsp;1660.369f, -12.013f, 170.020f},<br class="">{"Mount Gordo", &nbsp;2877.633f, 5911.078f, 369.624f},<br class="">{"Little Seoul", -889.655f, -853.499f, 20.566f},<br class="">{"Epsilon Building", -695.025f, 82.955f, 55.855f, 55.855f},<br class="">{"The Richman Hotel", -1330.911f, 340.871f, 64.078f},<br class="">{"Vinewood sign", 711.362f, 1198.134f, 348.526f},<br class="">{"Los Santos Golf Club", -1336.715f, 59.051f, 55.246f},<br class="">{"Chicken", -31.010f, 6316.830f, 40.083f},<br class="">{"Little Portola", -635.463f, -242.402f, 38.175f},<br class="">{"Pacific Bluffs Country Club", -3022.222f, 39.968f, 13.611f},<br class="">{"Vinewood Cemetery", -1659993.000f, -128.399f, 59.954f},<br class="">{"Paleto Forest Sawmill Chimney", -549.467f, 5308.221f, 114.146f},<br class="">{"Mirror Park", 1070.206f, -711.958f, 58.483f},<br class="">{"Rocket", 1608.698f, 6438.096f, 37.637f},<br class="">{"El Gordo Lighthouse", 3430.155f, 5174.196f, 41.280f},<br class="">{"Mile High Club", -144.274f, -946.813f, 269.135f},<br class="">{"Sunken Body", -3161.078f, 3001.998f, -37.974f},<br class="">{"Underwater WW2 Tank", 4201.633f, 3643.821f, -39.016f},<br class="">{"Dead Sea Monster", -3373.726f, 504.714f, -24.656f},<br class="">{"Underwater UFO", &nbsp;762.426f, 7380.371f, -111.377f},<br class="">{"Underwater Hatch", &nbsp;4273.950f, 2975.714f, -170.746f},<br class="">{"Sunken Plane", &nbsp;-942.350f, 6608.752f, -20.912f},<br class="">{"Sunken Cargo Ship", 3199.748f, -379.018f, -22.500f}<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>};<br class="">Yes, I know that 50000 items is way too much for this array, but it<br class="">was what I thought of at the time. Anyways, I'm getting 'too many<br class="">initializers' whenever I try and compile this particular part of code.<br class="">As you guys respond the fastest, is there any suggestions you guys can<br class="">offer?<br class=""><br class="">-- <br class="">Signed,<br class="">Ethin D. Probst<br class="">_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></div></blockquote></div><br class=""></div></body></html>